Incorporated review feedback from pull request #125

This commit is contained in:
JohnHake 2018-10-28 17:12:35 -07:00
parent 72656ecce9
commit f4abf633a4
2 changed files with 3 additions and 12 deletions

View File

@ -11,7 +11,7 @@ There are two possible ways of organizing plugin content:
and the classes that implement the plugin functionality. The configuration file
specifies the plugin name, description, version, vendor, the supported IntelliJ IDEA version,
plugin components, actions and action groups, and action user interface placement.
See the [Plugin Icon File](plugin_icon_file.md) page for more information about plugin icon svg files.
See the [Plugin Icon File](plugin_icon_file.md) page for more information about plugin icon SVG files.
```
.IntelliJIDEAx0/
@ -25,7 +25,7 @@ There are two possible ways of organizing plugin content:
pluginIcon.svg
pluginIcon_dark.svg
```
2. Plugin files located in a `.jar` file that is placed in the lib folder:

View File

@ -31,7 +31,7 @@ Plugin Icon files are named according to the following conventions:
### Adding Plugin Icons to a Plugin Project
The Plugin Icon files must be in the `META-INF` folder of the plugin distribution file,
i.e. the *.jar or *.zip file you upload to the plugin repository and install into
i.e. the `*.jar` or `*.zip` file you upload to the plugin repository and install into
a JetBrains IDE.
To include Plugin Icons in your distribution file, place the Plugin Icon files
@ -40,12 +40,3 @@ is the same regardless of using DevKit or Gradle for developing a plugin. For ex
![Plugin Icons in META-INF folder](img/resource_directory_structure.png)
### Plugin Icons API
If you need access to existing Plugin Icons you can acquire
them through the Plugin Repository using the following URL format:
`https://plugins.jetbrains.com/api/icon?pluginId=${PLUGIN_XMLID}&theme=${DEFAULT|DARCULA}`
Note the`theme` parameter may be omitted when you are retrieving an icon for a DEFAULT
theme.
An example URL to retrieve the Fortran Plugin Icon would be:
`https://plugins.jetbrains.com/api/icon?pluginId=org.jetbrains.fortran&theme=DEFAULT`