Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: adjust "Using Spring-API"

...

To develop plugins integrating with Spring-API you will need to use IntelliJ IDEA Ultimate Edition version 13.1 (or higher).

Setting up IntelliJ Platform SDK

Please (re-)create a IntelliJ Platform SDK to include all minimum required files.

Alternatively, follow these steps to modify existing SDK:

  1. add to IntelliJ Platform SDK classpath (not to your plugin module's dependencies)
    • $IDEA_HOME$/plugins/spring/spring-api.jar
    to your
    • $IDEA_HOME$/plugins/spring/spring-api.jar
  2. add to IntelliJ Platform SDK classpath (not to your plugin module's dependencies)add sourcepath
    • $IDEA_HOME$/lib/src/src_spring-openapi.zip

If you use other Spring functionality (e.g. Spring EL) in your plugin, make sure to add all required JARs to your IntelliJ Platform SDK

...

classpath to make your plugin's tests work.

Note

Please use only Spring-related functionality exposed in spring-api.jar (where sources are provided) in your plugin. Using any other "internal" (implementation) classes from Spring plugin is not supported.

plugin.xml

Add <depends>com.intellij.spring</depends> to your plugin.xml to require "Spring Support" plugin to be activated.

...

Available extension points are defined in META-INF/plugin.xml of $IDEA_HOME$/plugins/spring/spring-core.jar.Navigate to target to see all available extension points.
Note that "Spring Support" plugin itself has dependencies to a few other plugins which need to be enabled in your sandbox (see notifications on startup).

Main concepts

A Spring facet can be attached on a Module.
Spring facets usually contain one more user-configured/provided filesets, which group a set of Spring related configuration files (XML, Code or .properties files).
A fileset usually corresponds to one actual application context configuration at runtime.
Filesets can depend on other filesets (possibly in another module).

...