Skip to content

Commit 5024145

Browse files
authored
Merge pull request JetBrains#51 from markiewb/patch-1
Dependencies to specific plugins
2 parents 0d1bd10 + af1a9cb commit 5024145

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: basics/getting_started/plugin_compatibility.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ The following modules are only available in specific products:
5050

5151
PhpStorm does not have any modules specific to itself, but it includes the PHP plugin, which you can also use as a dependency: `com.jetbrains.php`
5252

53+
If you want to add a dependency to a specific plugin, then add a module dependency tag based on its plugin name/ID to the `plugin.xml`. For example `JavaScript` or `tslint`. Note that some plugins are not included by default in the target SDK, so you also have to add their jars manually to the SDKs classpath to compile against their provided classes. Make sure that you add the plugin jars to the SDK and not to your plugin, else the jars will be bundled with your plugin.
54+
5355
You can also specify optional module dependencies. If your plugin works with all products but provides some Java-specific functionality, you can use a dependency tag like this:
5456

5557
```xml

0 commit comments

Comments
 (0)