webstorm.md: javascript testframework

This commit is contained in:
Yann Cébron 2020-09-29 17:33:55 +02:00
parent a74fa5d8c2
commit 1b04fffd9b
2 changed files with 10 additions and 1 deletions

View File

@ -34,6 +34,9 @@ Consequently, without the `com.intellij.modules.platform` declaration the plugin
## Available WebStorm APIs
Use the [Exploring APIs as a Consumer](/basics/getting_started/plugin_compatibility.md#exploring-apis-as-a-consumer) process to identify the libraries `JavaScriptLanguage.jar`, and `javascript-openapi.jar`.
Test your plugin with any version of WebStorm you wish to support.
### Javascript Testframework
To use existing test base classes, specify `com.jetbrains.intellij.javascript:javascript-test-framework:$VERSION$` as `testImplementation` dependency explicitly (see [IntelliJ Platform Artifacts Repositories](/reference_guide/intellij_artifacts.md#gradle-example-for-an-individual-module-from-the-intellij-platform)) (2020.3 and later).
## Open Source Plugins for WebStorm
When learning new plugin development it is helpful to have some representative projects for reference:

View File

@ -14,7 +14,13 @@ Reparsing of `IReparseableLeafElementType`
Generating HTML fragments
: Use `com.intellij.openapi.util.text.HtmlBuilder` for generating formatted content, e.g., for [Documentation](/reference_guide/custom_language_support/documentation.md).
### Notable Changes in JavaScript Plugin 2020.3
Published Javascript Testframework
: This allows using existing test base classes, see [WebStorm Plugin Development](/products/webstorm.md#javascript-testframework) page for details.
## 2020.2
### Notable Changes in IntelliJ Platform 2020.2