WebStorm Plugin Development
Configuring Plugin Projects Targeting WebStorm
The configuration of WebStorm plugin projects follows the methods described in Configuring Plugin Projects using the IntelliJ IDEA Product Attribute and Configuring the plugin.xml File for PhpStorm.
The table below summarizes the Gradle IntelliJ Plugin attributes to set in the plugin project's Gradle build script. Click on an entry in the table's Attribute column to go to the documentation about that attribute. To see how these attributes appear in a similar Gradle build script for PhpStorm, see Configuring Gradle Build Script Using the IntelliJ IDEA Product Attribute.
Dependency on the
Path to locally installed target version of WebStorm. For example, for macOS:
Note that for WebStorm, the plugin.xml file must also declare a dependency on
com.intellij.modules.platform declaration the plugin is assumed to be a legacy plugin and will not load in WebStorm.
Available WebStorm APIs
See Exploring APIs as a Consumer. Test your plugin with any version of WebStorm you wish to support.
To use existing test base classes, specify
testImplementation dependency explicitly (see IntelliJ Platform Artifacts Repositories) (2020.3 and later).
Open Source Plugins for WebStorm
When learning new plugin development it is helpful to have some representative projects for reference: