Difference between revisions of "Java"

From WikEmacs
Jump to navigation Jump to search
m (cat,seealso)
(add lsp)
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
==List of notable Java modes==
 
==List of notable Java modes==
 
* [https://github.com/espenhw/malabar-mode malabar-mode] is a Java mode which was originally by Espen Wiborg. It has Maven integration, JUnit integration, support for Java generics, simple refactoring support and more. (no longer maintained)
 
* [https://github.com/espenhw/malabar-mode malabar-mode] is a Java mode which was originally by Espen Wiborg. It has Maven integration, JUnit integration, support for Java generics, simple refactoring support and more. (no longer maintained)
* [http://jdee.sourceforge.net/ JDEE], Java Development Environment for Emacs, has intelligent Java code completion among other things. (quite outdated and no longer maintained)
+
* [https://github.com/jdee-emacs/jdee JDEE], Java Development Environment for Emacs, has intelligent Java code completion among other things. (jdee is currently maintained on github)
 
* {{ModeLink|java-mode}} provides basic Java 1.4 syntax highlighting.
 
* {{ModeLink|java-mode}} provides basic Java 1.4 syntax highlighting.
 
* [https://github.com/senny/emacs-eclim emacs-eclim] communicates with the [http://eclim.org/ eclim] plugin in Eclipse to get a headless Eclipse instance do the heavy-lifting of completion, simple refactoring, building, and code navigation when editing files in Emacs.
 
* [https://github.com/senny/emacs-eclim emacs-eclim] communicates with the [http://eclim.org/ eclim] plugin in Eclipse to get a headless Eclipse instance do the heavy-lifting of completion, simple refactoring, building, and code navigation when editing files in Emacs.
 +
* [https://github.com/mopemope/meghanada-emacs meghanada-emacs] aims to help with Gradle and Maven, code completion, jumping to declarations and more. It's based on meghanada-server written in Java, for JDK >= 1.8.
 +
 +
=== Language Server Protocol (lsp-mode) ===
 +
 +
[https://github.com/emacs-lsp/lsp-mode lsp-mode] is a client to [https://github.com/Microsoft/language-server-protocol/ Microsoft's LSP]. It aims to provide IDE-like experience by providing optional integration with the most popular Emacs packages like company, flycheck and projectile.
 +
 +
It is reported to work well for Java projects, you should check it out !
  
 
==See also ==
 
==See also ==
 
[[java-mode]]
 
[[java-mode]]
  
 
+
==List of Java editing related Articles==
 +
* [http://mp.vv.si/blog/emacs/coding-in-java-with-emacs-and-jdee/ jdee and checkstyle]
 +
* [http://mp.vv.si/blog/emacs/writing-java-code-with-emacs/ Really short article on how to auto complete java package names]
 +
* [http://www.goldsborough.me/emacs,/java/2016/02/24/22-54-16-setting_up_emacs_for_java_development/ Comprehensive article (based on eclim)]
 +
* [https://dzone.com/articles/why-not-emacs Why not emacs]
 
[[Category:Programming languages]]
 
[[Category:Programming languages]]
 
[[Category:Java]]
 
[[Category:Java]]

Latest revision as of 11:11, 25 June 2019

Java support comes shipped with Emacs in the form of java-mode.

List of notable Java modes

  • malabar-mode is a Java mode which was originally by Espen Wiborg. It has Maven integration, JUnit integration, support for Java generics, simple refactoring support and more. (no longer maintained)
  • JDEE, Java Development Environment for Emacs, has intelligent Java code completion among other things. (jdee is currently maintained on github)
  • java-mode provides basic Java 1.4 syntax highlighting.
  • emacs-eclim communicates with the eclim plugin in Eclipse to get a headless Eclipse instance do the heavy-lifting of completion, simple refactoring, building, and code navigation when editing files in Emacs.
  • meghanada-emacs aims to help with Gradle and Maven, code completion, jumping to declarations and more. It's based on meghanada-server written in Java, for JDK >= 1.8.

Language Server Protocol (lsp-mode)

lsp-mode is a client to Microsoft's LSP. It aims to provide IDE-like experience by providing optional integration with the most popular Emacs packages like company, flycheck and projectile.

It is reported to work well for Java projects, you should check it out !

See also

java-mode

List of Java editing related Articles