1.7 KiB
1.7 KiB
Spring Boot Java Support for IntelliJ IDEA (Experimental)
The support is based on IntelliJ LSP client plugin https://github.com/gtache/intellij-lsp
Dev Instructions
- Clone and import the project into IntelliJ. ()Project is Scala based hence accept whatever IntelliJ suggests about having Scala)
- Build
boot-java-language-servermaven project from STS4 (https://github.com/spring-projects/sts4/tree/master/headless-services/boot-java-language-server) - Copy the built
jarfile into this project/resources/serverfolder and name itlanguage-server.jar - Install
LSP Supportplugin into IntelliJ as explained here: https://www.jetbrains.com/help/idea/installing-updating-and-uninstalling-repository-plugins.html - For some reason it's not enough for the dev env, hence also download the same plugin from https://www.jetbrains.com/help/idea/installing-updating-and-uninstalling-repository-plugins.html
- Unzip the downloaded file and copy the folder into IntelliJ
pliginsfolder - Select
idea-boot-javaproject in IntelliJ go toFile -> Project Structure...and thenPlatform Settings -> SDKs - Select
IntelliJ IDEAin the middle pane. Find+in the bottom left corner of the right-most pane and click on it (list of jars within IntelliJ SDK) - Find all
Jars under theIntelliJ/plugins/LSPfolder, select all of them and pressOpenin the dialog. This will ensure that your target platform has necessary LSP jars - Click on
Run -> Run..., create newPluginlaunch config. SelectUse classpath of moduleto beidea-boot-java, selectJREto theIntelliJ IDEASDK from step 8 - Run the configuration. This should start IntelliJ runtime workbench where
idea-boot-javaLS plugin is available