Ruin0x11/lsp-intellij
Emacs client for lsp-intellij-server
{ "createdAt": "2018-03-25T01:08:58Z", "defaultBranch": "master", "description": "Emacs client for lsp-intellij-server", "fullName": "Ruin0x11/lsp-intellij", "homepage": null, "language": "Emacs Lisp", "name": "lsp-intellij", "pushedAt": "2018-08-31T20:51:31Z", "stargazersCount": 58, "topics": [], "updatedAt": "2025-04-06T08:49:04Z", "url": "https://github.com/Ruin0x11/lsp-intellij"}lsp-intellij 
Section titled “lsp-intellij ”Emacs client for lsp-intellij-server.
Requirements
Section titled “Requirements”lsp-mode4.1- If you get errors like
void-functiontrying to load the client code (lsp-intellij.el), be sure your version oflsp-modeis up-to-date.
- If you get errors like
Optional requirements
Section titled “Optional requirements”flychecklsp-uicompanyandcompany-lspkotlin-mode
Install the package from MELPA. Then load lsp-mode in your config and put the following hook afterward:
(with-eval-after-load 'lsp-mode (require 'lsp-intellij) (add-hook 'java-mode-hook #'lsp-intellij-enable))Finally, start IntelliJ with the server plugin, then visit a .java file tracked by a project you’ve previously opened in IDEA.
You can enable Kotlin support by installing kotlin-mode, then adding another hook for lsp-intellij-enable in kotlin-mode-hook.
For features like diagnostics and snippet completion, lsp-ui and company-lsp are required. Here are the respective config options for each.
(require 'lsp-ui)(add-hook 'lsp-after-open-hook #'lsp-ui-mode)
(require 'company-lsp)(setq company-lsp-enable-snippet t company-lsp-cache-candidates t)(push 'company-lsp company-backends)(push 'java-mode company-global-modes)(push 'kotlin-mode company-global-modes) ;; if using KotlinSpacemacs layer
Section titled “Spacemacs layer”See here.