Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot

(jointhefreeworld.org)

52 points | by jjba23 1 day ago

6 comments

  • sajithdilshan 6 minutes ago
    > But what do you actually get with IntelliJ? A massive, monolithic Java application that frequently hogs 8GB+ of RAM, locks up your system while “indexing pre-built binaries,” and forces you into a closed proprietary ecosystem.

    This is just exaggeration. I use IntelliJIDEA everyday (on mac) with multiple projects open and tbh they have optimized the IDE a lot to make it faster. I'm not saying it's perfect, but it's getting better. Also it's not closed source. The core of the IDE is open source (https://github.com/jetbrains/intellij-community) and for some specific framework support (e.g. Spring) are available on Ultimate.

  • marginalia_nu 43 minutes ago
    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. There is undeniably demand for this sort of thing, but nobody is coming to meet it. (jdtls, bless it for trying, is just not good)
    • TiredOfLife 34 minutes ago
      The one in VS Code seems fine. It's not quite intellij level, but what is.

      And speaking on llm and lsp. The new PHP lsp PHPantom (with help of llms) is approaching jetbrains offering fast.

      • marginalia_nu 31 minutes ago
        That's just a wrapper for jdtls. I mean it works on some projects, but fails on many gradle builds and is basically just running the Eclipse IDE headlessly.

        This is probably the one contender:

        https://github.com/georgewfraser/java-language-server

        and it kinda works, but it's also a bit lacking.

        • spockz 0 minutes ago
          [delayed]
        • Squarex 17 minutes ago
          oracle has some lsp based on netbeans, but it's not great either
  • phmx 43 minutes ago
    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

  • TiredOfLife 42 minutes ago
    > and forces you into a closed proprietary ecosystem

    https://github.com/jetbrains/intellij-community ?

  • ares623 36 minutes ago
    oh I thought this was somehow extracting the proprietary LSP engine that IntelliJ has and using it with Emacs.
    • andylynch 9 minutes ago
      I think Jetbrains did that already; the Kotlin LSP server is derived from the (also open source) IntelliJ plugin
  • sawrtagy 52 minutes ago
    [dead]