This layer adds support for editing Java and Kotlin using IntelliJ IDEA with intellij-lsp-server as a backend.
First, follow the install steps at intellij-lsp-server to install the required plugin in your copy of IDEA.
Then, clone the layer into your ~/.emacs.d/private
directory:
git clone [email protected]:Ruin0x11/lsp-intellij-spacemacs.git ~/.emacs.d/private/lsp-intellij
How you enable this layer depends on your Spacemacs version, which you can find with M-: spacemacs-version
.
Add the following layers to your dotspacemacs-configuration-layers
in ~/.spacemacs
:
auto-completion syntax-checking lsp-intellij
With no other layers enabled, this will look like:
(setq-default dotspacemacs-configuration-layers '(auto-completion syntax-checking lsp-intellij))
Add the following layers to your dotspacemacs-configuration-layers
in ~/.spacemacs
:
auto-completion syntax-checking lsp lsp-intellij
With no other layers enabled, this will look like:
(setq-default dotspacemacs-configuration-layers '(auto-completion syntax-checking lsp lsp-intellij))
Please see the lsp-intellij repo for more information.