Escape IntelliJ: Seamless Scala and Kotlin Development with Emacs Eglot
Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot
I share my production-ready Emacs Eglot setup for Scala and Kotlin, proving you don't need IntelliJ IDEA for JVM languages. By leveraging the Unix philosophy and custom Emacs Lisp workarounds, I achieve a lightweight, fast, and highly hackable development environment. This configuration handles complex server quirks, optimizes memory usage, and delivers a unified interface that rivals monolithic IDEs while keeping your system responsive.
If IntelliJ has a bug in how it auto-completes Kotlin code, you are stuck waiting for JetBrains to issue a patch. In Emacs, you can write a 10-line Lisp advice function to intercept the network payload and patch the bug live in your editor buffer.