Settings.png screenshot is too large for IntelliJ plugin tool window
IntelliJ Platform UI team supporter here.
Problem: the plugin description window has horizontal scrollbar in IDE
Investigation: the plugin description is imported from readme.md file, this file contains a screenshot settings.png (https://github.com/redhat-developer/intellij-dependency-analytics/blob/main/src/main/resources/images/settings.png) file which is 1956 × 1430 pixels
Therefore, all page content receives a minimal width of 1956, which leads to a horizontal scrollbar
Proposed solution: replace the image by the resized version 800x585
Additionally, I posted a ticket to our documentation system, so that the plugin developers can know about the recommended best practices for embedding the screenshot.
To thoroughly resolve this issue, we should move the screenshots and images from the plugin description section in plugin.xml to the plugin page in marketplace. It's the recommended way as described in https://plugins.jetbrains.com/docs/marketplace/best-practices-for-listing.html#plugin-description
Use the Media section to add images that illustrate your plugin’s functionality, rather than embedding them directly in the plugin description.
Fred can't change the description on the JB Marketplace. At best he can attach screenshots to the marketplace entry. We need to fix our plugin.xml description in https://github.com/redhat-developer/intellij-dependency-analytics/blob/main/src/main/resources/META-INF/plugin.xml and republish it.
The
Again, JetBrains recommends not embedding large images directly in
I can resize image to 50% of current size in https://github.com/redhat-developer/intellij-dependency-analytics/pull/228, but the outcome is limited. Otherwise, we should just remove the image and gif from