{"repo":"emacs-lsp/lsp-java","free":true,"listed":false,"github":"https://github.com/emacs-lsp/lsp-java","clone":"git clone https://github.com/emacs-lsp/lsp-java.git","description":"lsp-mode :heart: java","language":"Emacs Lisp","stars":695,"topics":["java","emacs","spring-initializr","spring-boot","lsp","jdt-server","emacs-lsp","lsp-java"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"lsp-java ======== Emacs Java IDE using Eclipse JDT Language Server. Requirements - JDK 17 Features LSP java mode supports the following JDT Features: As you type reporting of parsing and compilation errors (via flycheck/lsp-ui) Code completion - using company-capf or builtin Javadoc hovers - using lsp-ui Code actions - using lsp-ui Code outline - using builtin imenu Code navigation - using builtin xref Code lens (references/implementations) - using builtin xref Highlights Code formatting Maven pom.xml project support Limited Gradle support Visual debugger - dap-mode Test runner - dap-mode Project explorer integration - treemacs Integration with Spring Initializr Demo Here it is a demo from EmacsConf2019 https://www.youtube.com/watch?v=Bbjxn9yVNJ8 Tutorial Here is a tutorial that covers setup and use https://xpressrazor.wordpress.com/2020/11/04/java-programming-in-emacs/ Screenshot Installation Spacemacs lsp-java is included in spacemacs (for now only on the dev branch). If you are using the development version of spacemacs you can simply add (java :variables java-backend 'lsp) to dotspacemacs-configuration-layers . Install via melpa The recommended way to install LSP Java is via package.el - the built-in package manager in Emacs. LSP Java is available on the two major package.el community maintained repos - MELPA Stable and MELPA. M-x package-install [RET] lsp-java [RET] Then add the following lines to your .emacs and open a file from the any of the specified projects. Eclips","default_branch":null,"files":null,"tree":[],"storefront":"/r/emacs-lsp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/emacs-lsp/lsp-java/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}