Escape IntelliJ: Scala and Kotlin LSPs on Emacs Eglot

(jointhefreeworld.org)

43 points | by jjba23 1 day ago

5 comments

  • marginalia_nu 20 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 11 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 8 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.

      • Oxodao 7 minutes ago
        there's a lot of stuff coming in the PHP world, between phpactor that's been there for a while, mago that wants to make a lsp and this that's great having choice. But I'm not sure I'll be able to let go phpstorm even though its bugging me more and more every day it's just too good
  • phmx 20 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 19 minutes ago
    > and forces you into a closed proprietary ecosystem

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

  • ares623 13 minutes ago
    oh I thought this was somehow extracting the proprietary LSP engine that IntelliJ has and using it with Emacs.
  • sawrtagy 29 minutes ago
    [dead]