Skip to content

Templates: add the most used language servers that have none yet (Python, Zig, Lua, YAML, and a next tier) #2310

Backlog

Description

@lagergren

LSP4IJ has 36 language server templates, but some of the most used language servers have none yet. This lists the candidates, and how they were chosen.

Status, 2026-11-28:

How the candidates were chosen

Checked on 2026-11-27, against the 36 templates on main (src/main/resources/templates/lsp):

  • Demand in LSP4IJ: how many issues of this repository mention the server: what LSP4IJ users already try or ask for.
  • Use overall: the GitHub stars of the server's repository. For servers that are part of a larger tool (ruff server, gleam lsp, deno lsp, biome lsp-proxy, buf lsp), the stars are those of the whole tool, so they overstate the language server.
  • The gap in JetBrains IDEs: whether IntelliJ already supports the language itself. A template matters most where it doesn't.
  • How easy the install is: npm, pip, or release binaries per OS, which the installer already handles (as for clangd or rust-analyzer), or a toolchain manager (ghcup, opam), which a template can only check and point to.

Most worth adding

Language Server(s) Issues mentioning it Stars Why
Python pyright / basedpyright, ruff (ruff server) 24 / 14 / 6 16k / 3.7k / 52k By far the most asked-for. Useful in every IntelliJ IDE without a Python plugin, and Pyright's type checking is wanted in PyCharm too. npm or pip.
Zig zls 15 5.4k No support in JetBrains IDEs. Release binaries, as for clangd. The zls version must match the Zig version, which the page should say.
Lua lua-language-server 9 4.4k No support in JetBrains IDEs; very common for Neovim configurations and games. Release binaries per OS.
YAML yaml-language-server 5 1.5k Red Hat's own server, with Kubernetes and schema store support. IntelliJ supports YAML itself, so the value is lower, but it fits this project. npm.

Next tier (rechecked 2026-11-28)

The first list only checked whether JetBrains itself supports a language. This recheck also looks at the free plugins: in the JetBrains Marketplace, each plugin's compatible IDEs, last release and dependencies. "On LSP4IJ" means a plugin depends on LSP4IJ; "on JetBrains' LSP API" means it depends on com.intellij.modules.lsp. Dates are of last releases. Download counts are the Marketplace's.

# Language: server Support in JetBrains IDEs without a template Install Value Size
1 Typst: tinymist Nothing from JetBrains. Free plugins: Kvasir, with its own parser (highlighting, preview, compile errors, formatting; 9.5k downloads); typst-renderer, on JetBrains' LSP API, built for 2026.2 only. Typst Support is for Ultimate only, up to 2025.2. bare binaries per OS and CPU (tinymist-darwin-arm64, tinymist-win32-x64.exe, …), v0.15.12 high small
2 Tailwind CSS: @tailwindcss/language-server JetBrains' Tailwind CSS needs a paid IDE. The free plugins have no build for 2025.3 or later, so the free IDEs have nothing. npm; tailwindcss-language-server --stdio, settings in tailwindCSS.* medium–high small–medium: many file mappings
3 Gleam: gleam lsp Nothing from JetBrains. The free Gleam Language is on LSP4IJ (5k downloads). the compiler's release archives, or a check for gleam on the PATH medium small
4 Nim: nimlangserver (new) JetBrains' own Nim plugin stops at 2025.1 (last release 2025-04). A free plugin on LSP4IJ has 515 downloads. release archives per OS, v1.18.0 medium small
5 GDScript: the Godot editor's own server (new) Rider bundles Godot support, with debugging. The other plugins stop at 2024.2 or 2025.1. nothing to install: LSP4IJ's socket transport connects to the editor on 127.0.0.1:6005 while it runs medium small
6 Mojo: mojo-lsp-server (new) JetBrains' Mojo plugin is basic editing only, up to 2025.2. pip mojo into a virtual environment; macOS arm64 and Linux only medium small–medium
7 Elixir: Expert The free Elixir plugin (intellij-elixir, 508k downloads, 2025.3+) has completion, inspections and a debugger. bare binaries per OS; expert --stdio low–medium small
8 OCaml: ocaml-lsp The free ReasonML plugin covers OCaml and Dune (114k downloads). opam, per switch: the template can only check low–medium small
9 YAML: yaml-language-server IntelliJ's bundled YAML plugin, with JSON Schema support. npm low, though it is Red Hat's own small
10 Haskell: HLS The free Haskell LSP is on LSP4IJ (20.7k downloads). ghcup: the template can only check low small
11 LaTeX: texlab The free TeXiFy-IDEA (914k downloads): completion, inspections, BibTeX, compilers, PDF forward and backward search. release archives low small
12 Nix: nixd, nil The free, official NixIDEA (200k downloads) starts nixd or nil itself, on JetBrains' LSP API. Its changelog says this works without Ultimate since 0.4.0.19 (2026-04). nixpkgs only: the template can only check low small

Demand: no issue by anyone else asks for one of these templates. The issues that name them are bug reports found with a server: nixd and nil (#1202, #1434, #1486), Haskell (#513, #1384), yaml-language-server, and Tailwind (#1426).

Not worth a template

  • Kotlin (kotlin-lsp, mentioned in 9 issues): IntelliJ supports Kotlin itself.
  • JSON, TOML (taplo), Markdown (marksman) and Bash (bash-language-server): IntelliJ supports them itself.
  • PHP (intelephense, phpactor): PhpStorm and the paid IDEs support it, and no LSP4IJ issue asks for it.
  • Angular: the repository of its language server is archived.
  • Rechecked on 2026-11-28, a free plugin, or JetBrains' own, supports each of these:
    • Odin: Odin Support, with a debugger.
    • Fortran: the Fortran plugin, with a debugger.
    • R: JetBrains' R plugin, which runs and debugs scripts.
    • PowerShell: intellij-powershell, which bundles PowerShell Editor Services.
    • Protobuf: JetBrains' plugin, and Buf's.
    • GraphQL: JetBrains' plugin, in the IDEs with JavaScript.
    • Solidity, Elm, D, Haxe and Lean 4.
  • Crystal and V: their servers are too weak. crystalline builds only for macOS arm64 and Linux musl, and v-analyzer's last release is 0.0.6, from 2025-02.
  • Later, for few users: SystemVerilog (slang-server, verible), VHDL (vhdl_ls), Nushell (nu --lsp) and Deno (deno lsp).

Plugins built on LSP4IJ for some of them

Several of these languages already have a plugin built on LSP4IJ, listed in the README: Pyright for PyCharm, Ruff for PyCharm, ZigBrains, Lua Pro, Gleam Pro, Elixir Pro, Nix Pro, Haskell LSP for IntelliJ and Tinymist Typst. A template is still useful for users who want the language server without another plugin, and for the IDEs those plugins don't target.

Proposal

Start with Zig (zls) and Lua (lua-language-server), now #2333. Each template gets a page under docs/user-defined-ls/ in the format of the existing ones, and a row in the documentation index.

Next, from the rechecked next tier:

  1. Typst: tinymist's language server and its debug adapter, from the same binary.
  2. Tailwind CSS.
  3. Gleam.
  4. Nim: nimlangserver, and *.nim in CodeLLDB, as feat: templates for the Zig Language Server (ZLS) and the Lua Language Server (LuaLS) #2333 does for Zig.
  5. Godot: its language server and its debug adapter, both in the editor.
  6. Mojo: mojo-lsp-server and its lldb-dap, from the same virtual environment.

Expert and OCaml come after those.

Python was first in this proposal, and is dropped for now, as follows.

Why not Python first

Checked on 2026-11-28, in the JetBrains Marketplace and in PyCharm's documentation:

IDE Python without LSP4IJ What a Pyright or Ruff template would add
PyCharm Its own Python support, and Ruff, Pyright, basedpyright, Pyrefly and ty as "LSP tools" (Settings | Python | Tools): Ruff since 2025.3. The page marks none of them as Pro only. nothing; the template banner doesn't show either, as *.py is a Python file there
IntelliJ IDEA Ultimate the Python plugin (Pythonid), PyCharm's nothing
IntelliJ IDEA, GoLand, CLion, RustRover, Rider, WebStorm, DataGrip, DataSpell, Android Studio the free Python Community Edition plugin (PythonCore) installs in all of them, with completion, inspections, interpreters and virtual environments, and run configurations little, for a user who doesn't want that plugin. Whether it has the LSP tools of PyCharm is not checked
PhpStorm, RubyMine not in the list of PythonCore Pyright and Ruff, for few users

The issues of this repository that mention Pyright are mostly reports of LSP4IJ bugs that came up with it (15 of 22, from June 2024 to October 2025, before PyCharm supported Pyright itself), not requests for a template; the other ones are LSP4IJ's own follow-ups.

Python stays a candidate for the IDEs without PythonCore, at a lower priority. What a template would need, found while checking:

  • Pyright, with npm, pyright-langserver --stdio, as the Svelte template does. It resolves imports with the interpreter that python.pythonPath names, else python on the PATH, so its page would say how to set a virtual environment.
  • Ruff, ruff server, from its release archives per OS and architecture. A project usually pins its Ruff version, whose rules and formatting change from one version to the next: the template should start the Ruff on the PATH first (an exec check of ${server.command}, as sdl-lsp does), and download only without one. Its settings go in initializationOptions.settings.
  • Python's debugger already has a template, python-debugpy.

Zig and Lua have no JetBrains support at all, so their templates are the only way to get them in a JetBrains IDE. Their installs use the release binaries per OS and architecture, tar.xz archives, version wildcards in asset names, and the extraction of a whole archive, which lua-language-server needs, and so prove the installation model as well as Python would have.

Debug adapters (DAP)

As asked in the comment below: checked on 2026-11-28 against main (0fd429a), the languages of the 36 LSP templates against the 10 DAP templates (buildx-dockerfile, codelldb, erlang-edb, go-delve, julia, perl-dap, python-debugpy, ruby-rdbg, swift-lldb, vscode-js-debug), by reading the templates, the adapters' repositories and release metadata, and the nvim-dap adapter list; no adapter was run. A DAP template sets breakpoints only in the files that it maps.

Covered already: C, C++, Objective-C and Swift (swift-lldb), Rust (CodeLLDB), Go (go-delve), JavaScript and TypeScript (vscode-js-debug, Node), Ruby, Perl, Julia, Erlang, Dockerfiles (Buildx), Python (debugpy, attach only).

Small changes to existing templates

Missing, for the languages of existing LSP templates

Language Adapter Install Talks DAP over Size Notes
C# (done in #2336) netcoredbg (MIT) GitHub release per OS; 3.2.0 has no Intel Mac build stdio (--interpreter=vscode) small–medium the largest gap: no .NET debugger outside Rider, and Microsoft's vsdbg may only be used with Microsoft's products
Ada, and C/C++/Fortran on Linux and Windows (done in #2336, launch only: #2337) GDB's built-in DAP, gdb -i dap (GDB 16+, with Python: GDB 14 and 15 start the program at launch and answer configurationDone with an error, checked live) the system's or GNAT's GDB: the installer can only check stdio small the only open one for Ada; AdaCore's VS Code extension uses Microsoft's cppdbg, licensed for Microsoft's products only
Clojure clojure-dap (beta) the Clojure CLI, from Clojars stdio, attaches to an nREPL small–medium
Apache Camel camel-debug-adapter a Maven Central jar, as camel-lsp-server stdio, JMX to the application small the Camel IDEA plugin debugs routes already
Java, Scala java-debug in jdtls, Metals' debug adapter inside the language server started with workspace/executeCommand large: needs LSP4IJ code IntelliJ debugs both
Kotlin, Luau stale, or for one runtime only not recommended
Dart, Flutter dart debug_adapter, flutter debug_adapter with the SDK stdio small, but not recommended Google's free Dart and Flutter plugins, both updated on 2026-11-04, install in nearly every JetBrains IDE (IntelliJ IDEA and Community, Android Studio, PyCharm, WebStorm, GoLand, CLion, RustRover, Rider, PhpStorm, RubyMine) and debug Dart and Flutter: a template adds nothing, as for Python. For the same reason, the dart-lsp template helps only those who don't want these plugins

For the languages proposed above

Demand: no issue asks for a debug adapter for these languages. The issues that name them are LSP4IJ's own DAP feature issues (#2106 to #2118, #2185 to #2187); the requests by other people were for Erlang's edb (#1991) and Python (#850), both done.

Proposed order: CodeLLDB maps Zig (tiny), netcoredbg for C# (small–medium), GDB's DAP for Ada (small), emmylua_dap for Lua (medium). Dart and Flutter are left out: their plugins cover them. All four are done, in #2333 and #2336. Of this list, clojure-dap and camel-debug-adapter are left.

Not verified: GDB on Apple Silicon; CodeLLDB with Zig's PDB output on Windows; whether LLVM's release archives include lldb-dap; the license of emmy_core. #2336 checked netcoredbg's archive layouts, and vscode-js-debug's browser session with a DAP client.

Beyond the languages of LSP4IJ's templates (2026-11-28)

These popular debug adapters are for languages that have no LSP4IJ template, or are ones the list above missed. They were checked from release metadata, READMEs and the Marketplace; none was run.

# Language: adapter JetBrains debugging without it Install Transport, launch configuration Value Size
1 Typst: tinymist dap none (the paid Scribe Pro says it has one) the same binary as tinymist's language server stdio; launch takes program, stopOnEntry medium; maturity not checked small
2 GDScript: the Godot editor Rider only none TCP 6006, where the editor listens: an attach template with a host and port, as python-debugpy has. Launch takes project, scene, platform, playArgs. medium small
3 Embedded Rust: probe-rs a new free plugin for RustRover 2026.3+ (8 downloads) release archives per OS and CPU, v0.32.0 TCP, probe-rs dap-server --port ${port}, as go-delve; launch needs chip and coreConfigs[].programBinary medium small–medium
4 Deno: the existing VSCode JS Debug JetBrains' Deno plugin, in the IDEs with JavaScript installed already Deno's docs use "type": "node", attaching to port 9229 low–medium tiny: one configuration
5 Mojo: lldb-dap from the mojo package none found pip mojo stdio, lldb-dap --repl-mode variable, with initCommands that load Mojo's LLDB plugin medium–low medium
6 Nim: CodeLLDB or GDB mappings none since JetBrains' Nim plugin stopped installed already low–medium tiny
7 PHP: vscode-php-debug, with Xdebug PhpStorm, and the PHP plugin of the paid IDEs .vsix release; node extension/out/phpDebug.js stdio; listens for Xdebug on 9003 low: no PHP template, and the paid IDEs cover PHP small

Not worth one:

  • PowerShell: PowerShell Editor Services talks DAP only over a named pipe, which LSP4IJ doesn't support, and the free plugin debugs.
  • R: JetBrains' plugin debugs R.
  • Bun: its adapter is inside its VS Code extension, and JetBrains' Bun plugin debugs it.
  • Unity and Mono: their adapters are archived, and Rider covers Unity.
  • Bash: bashdb's adapter is from 2020–21.
  • Cortex-Debug: its GitHub releases stopped in 2023.
  • SWI-Prolog: its adapter is from 2022.
  • Elm: it has no debug adapter.

Demand: no issue asks for any of these.

A language server and its debug adapter in one PR

  1. Typst: tinymist's server and tinymist dap, one binary and one installer.
  2. Godot: the language server on 6005 and the debug adapter on 6006, with no installer. One page says that the editor must be running.
  3. Mojo: mojo-lsp-server and lldb-dap, from one virtual environment.
  4. Nim: nimlangserver, and *.nim in CodeLLDB.
  5. OCaml: ocaml-lsp and earlybird, both from opam, if OCaml is done.

Not checked:

  • tinymist's debug adapter in use;
  • Godot's language server with LSP4IJ: its custom notifications, and how it handles rootUri;
  • probe-rs's ready message;
  • Mojo's lldb-dap outside VS Code;
  • whether nimlangserver needs nimsuggest on the PATH;
  • the Tailwind server in IDEs without CSS or JavaScript;
  • JetBrains' LSP API in the free tier of IntelliJ IDEA, which is inferred from NixIDEA's changelog;
  • the layout of HLS's archives;
  • whether Expert needs Elixir installed.

Activity

  1. muescha commented on Nov 27, 2026

    @muescha
    Contributor

    We should also analyse which DAP templates are missing.

  2. added this to the Backlog milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementinstalltemplate-ls

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions