Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot
Executive TL;DR:
- Scala and Kotlin Language Server Protocols (LSPs) can be used with Emacs Eglot.
- This setup provides an alternative to IntelliJ.
- Emacs Eglot offers a more open and customizable environment.
The Internet’s Verdict: 70% Hyped, 30% Skeptical
Introduction to Emacs Eglot
Emacs Eglot is a popular choice among developers looking for a more open and customizable environment.
Setting up Scala and Kotlin LSPs
According to the Metals documentation, setting up Scala and Kotlin LSPs with Emacs is straightforward. As one user noted:
The Metals documentation includes instructions for setting it up with Emacs. I followed them, and everything works, including worksheets. https://scalameta.org/metals/docs/editors/emacs
However, some users are still waiting for a decent Java language server, with one user commenting:
The fact we still don’t have a decent Java language server is one of my canaries for the fact that LLMs still, generally speaking, can’t ship.
Breaking Free from IntelliJ
Some users are looking to escape the proprietary ecosystem of IntelliJ, with one user asking:
oh I thought this was somehow extracting the proprietary LSP engine that IntelliJ has and using it with Emacs.
Focus Keyword: Emacs Eglot