SonarLint IntelliJ Plugin
How to build
Note that the above won't run tests and checks. To do that too, run:
./gradlew check buildPlugin
For the complete list of tasks, see:
How to develop in IntelliJ
Import the project as a Gradle project.
Note: whenever you change a Gradle setting (for example in
don't forget to Refresh all Gradle projects in the Gradle toolbar.
To run an IntelliJ instance with the plugin installed, execute the Gradle task
runIdea using the command line,
or the Gradle toolbar in IntelliJ, under
The instance files are stored under
Keep in mind that the
clean task will wipe out the content of
so you will need to repeat some setup steps for that instance, such as configuring the JDK.
Whenever you change dependency version, the previous versions are not deleted from the sandbox, and the JVM might not load the version that you expect.
clean task may be inconvenient, an easier workaround is to delete the jars in the sandbox, for example with:
find build/idea-sandbox/ -name '*.jar' -delete
How to release
Deploy on Jetbrains plugin repository (todo try to use publish task).
Copyright 2013-2018 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0