Skip to content

Draft announcement for LSP4IJ 0.30.0 #1940

Done

Description

@lagergren

@angelozerr, here is a draft announcement for 0.30.0, for you to check before the release. Please correct anything that's wrong or missing.

It's longer than the usual announcement in #1809, so where should it go: into #1809 when 0.30.0 is out, at the top of the GitHub release notes, or condensed into the <change-notes> of plugin.xml?

Open points:


LSP4IJ 0.30.0

LSP4IJ 0.30.0 is available on the JetBrains Marketplace. It is
the largest release of LSP4IJ so far: 283 commits by 23 contributors since 0.21.0, against 153 for 0.20.0, the largest
release before it, and 284 issues and pull requests closed in its milestone.

It adds most of the Debug Adapter Protocol that LSP4IJ didn't support yet, several instances of one language server per
project, language servers over a socket, and new LSP features. Above all, it fixes many cases where documents, edits and
diagnostics got out of step with a language server.

Highlights

  • Debugging: pause, function and data breakpoints, hit conditions, logpoints, Reset Frame, a Debug console,
    inline values from the language server, and lazy, paged and hexadecimal variables.
  • Several instances of one language server per project: for example, one instance per pyproject.toml, each with
    its own root and environment.
  • Language servers over a TCP socket: attach to a running language server, or let LSP4IJ start it.
  • New LSP features: workspace diagnostics, workspace/textDocumentContent, willSave and willSaveWaitUntil,
    and linked editing ranges.
  • Reliability: document synchronization in order, workspace edits that apply as the server meant them, fewer
    freezes, and no orphaned language server processes.

Debugging (DAP)

New in the debugger, when the DAP server supports it:

  • Pause a running program.
  • Function breakpoints,
    set by the function's name in Run | View Breakpoints....
  • Data breakpoints:
    right-click a variable and choose Break on Value Change.
  • Hit conditions such as
    >= 3, and conditions on exception breakpoint filters.
  • Logpoints: a breakpoint whose
    Suspend option is unchecked logs without stopping.
  • Reset Frame restarts a
    stack frame.
  • Step only the current thread,
    with DAP's singleThread.
  • A Debug console: a line
    typed in the console is evaluated as in VS Code's Debug Console.
  • Inline values at the
    positions a language server gives with textDocument/inlineValue.
  • Large variables are
    read 100 elements at a time,
    lazy variables get a
    Show value link, and values can be shown as
    hexadecimal numbers.
  • Loaded Sources and Modules
    tabs.
  • The exceptionInfo of an exception stop in the hint where the program stopped, and the exit code of the debugged
    program.
  • Read-only variables have no Set Value…, and the Variables tree stays expanded after Set Value… and stepping.
  • The Variables view shows a string as the debug adapter sends it, with its quotes and escapes, as VS Code does: a
    string with quotes of its own, such as "'test'", keeps them, and vscode-js-debug's strings keep their single quotes.
  • Native line breakpoints, such as JavaScript or Python ones, are
    forwarded
    to the DAP server in mapped files.
  • IntelliJ macros
    such as $FilePath$ are expanded in DAP parameters, a DAP run configuration's working directory is used for its DAP
    server, and a descriptor can start its own process for an attach.
  • The views are refreshed on DAP's invalidated event, and a failed launch shows its real error.
  • Child sessions: a debug session that startDebugging split into several sessions, as vscode-js-debug does, keeps
    running until its last session ends, a breakpoint stays verified while one session binds it, and a session whose
    connection closes without terminated ends as if it had sent it.
  • A debug adapter's capabilities event applies: an adapter that turns on Set Value…, function or data breakpoints,
    exception filters or disassembling after it launched gets them at once.
  • Typing in Evaluate, Watches or a breakpoint condition no longer fails with a ClassCastException while debugging
    JavaScript in an IDE with the JavaScript plugin, such as IntelliJ IDEA Ultimate or WebStorm.

Language server features (LSP)

  • Workspace diagnostics,
    including streamed partial reports, and the relatedDocuments of pull diagnostic reports.
  • workspace/textDocumentContent:
    library sources, decompiled classes and generated code that the server provides open in a read-only editor.
  • textDocument/willSave and willSaveWaitUntil,
    with the edits applied before the save.
  • Linked editing ranges
    are edited together while typing.
  • The refresh requests for inline values and folding ranges, workspaceSymbol/resolve, and the per-signature
    activeParameter of signature help.
  • Inlay hints are listed in Settings | Editor | Inlay Hints, and show their tooltips.
  • Completion asks again after an empty trigger character or an incomplete list, and honors InsertTextMode.AsIs.
    A completion without a text edit keeps the whitespace before the caret, Ctrl+Q shows documentation that only
    completionItem/resolve gives, and an item whose resolve fails is applied as the server first sent it.
  • Type and Call Hierarchy also work in IDEs that bundle JetBrains' own LSP client.
  • Markdown documentation in the Ctrl+hover hint has no extra empty lines, and the links to a diagnostic's related
    information go to the right position.
  • LSP actions also work on files outside the project.

Configuring language servers

  • Several language server instances
    per project, with serverInstances and rootType or markers. The command and working directory can name each
    instance's root as ${instanceRoot}.
  • Socket transport:
    attach to a language server that runs already, or let LSP4IJ start it and connect to it, or start it
    and let it connect back, as VS Code's --socket=<port> does, on 127.0.0.1 or ::1, whichever a language server
    on localhost gets. Templates can set it with
    socket and transports.
    Changing the transport of a language server created from a template that gives an argument for each transport, as
    the CSS and ESLint templates do, swaps that argument in the command, such as --stdio for --socket=${port}, and a
    command that takes ${port} with stdio, which gives no port, gets a warning. A debug adapter that LSP4IJ reaches by its
    port alone is reached on either address too.
  • A language server that fails to start is started again after a pause that grows to 30 seconds, instead of at once on
    each request, and is disabled after 20 failed starts within 10 minutes, with a notification to enable and start it
    again.
  • Directory environments: the IDE's environment customizers, such as mise's, now give a language server or DAP server
    the environment of its working directory, and its command is looked up in that environment.
  • The settings page is now named Language Servers (LSP4IJ). Invalid JSON settings can't be saved, and explicit null
    values in settings are kept.
  • Installers get a fileExists task, so that they don't download again what is there already.
  • Hovering over a language server in the LSP consoles
    shows the name and version that it reports.

Reliability

  • Document synchronization: didOpen, didChange and didClose are always sent in order, a request is sent after
    the changes made before it, and moved or renamed files and directories are connected again at their new place.
  • Workspace edits and refactorings: document versions are checked before an edit applies, documents without an
    editor are saved, RenameFile options are honored, and workspace/willRenameFiles is asked before the refactoring's
    write action.
  • Freezes and deadlocks: requests and responses are no longer written behind a slow notification such as a large
    didOpen, workspace/will* requests run off the EDT, and the deadlock between completionItem/resolve and
    publishDiagnostics is fixed.
  • Process lifecycle: no orphaned language server processes at startup, a disposed language server never starts
    again, the pending requests of a server that stops or crashes are cancelled, a server that stops gets the exit
    notification before its connection closes, so that it exits by itself, and a server that is restarting isn't
    restarted again by each request, such as each keystroke in Search Everywhere.
  • Diagnostics: squiggles no longer stay stale after typing.
  • File watchers: a language server is told about changes in the directories outside the project that it watches.
  • WSL: files whose paths have non-ASCII characters work.
  • Formatting: files without an editor, several ranges at once, and servers that reply with CRLF line endings.

IDE compatibility

LSP4IJ 0.30.0 still supports IntelliJ-based IDEs from 2024.2 on. It replaces 17 of the 18 usages of API that IntelliJ
2026.3 schedules for removal, no longer compiles against the platform's internal debugger API for its breakpoints,
compiles against IntelliJ 2025.3, and tells cancelled requests apart correctly on Java 25.

Templates and documentation

  • New templates for SysML and
    Cpp Language Server, and the SDL template downloads the latest release
    from GitHub.
  • Templates start their language server without sh -c or sh -s, which dropped its arguments, as TypeScript's
    --stdio, or never started it, as Ruby LSP's. The jq-lsp, luau-lsp, erlang-ls, jdtls, clangd and Dart templates are
    fixed too. A language server created from one of these templates before 0.30.0 keeps its command: create it again
    from the template, or remove sh -c or sh -s from its command. The luau-lsp installer now also downloads it on
    Linux x86_64.
  • The language servers and debug adapters that LSP4IJ installs, and those of the CSS, ESLint, luau-lsp and erlang-ls
    templates, start when the home or project directory has a space, as C:\Users\Jane Doe. A server installed before
    0.30.0 keeps its command: put the path in it in double quotes.
  • The DAP developer guide is
    complete, and the LSP and DAP support lists match the code.

For plugin developers

  • A Find Usages integration can tell reads from writes.
  • Client features can follow diagnostic cache updates, and ask whether a diagnostics refresh of a file is pending.
  • The socket transport's API, such as SocketStreamConnectionProvider, is no longer experimental.
  • Breakpoint handlers read the current capabilities of a DAP server, with initialize(server, Supplier).
  • LanguageServerWrapper.getServerInfo() gives the name and version that a language server reports in its initialize
    response.
  • DebugAdapterDescriptor.createStartServerCommandLine(String, Map, boolean) is deprecated for the method that also
    takes the working directory, and DAPDebugProcess.findBreakpointById(Integer) and
    BreakpointHandlerBase.DAP_BREAKPOINT_ID for findBreakpointById(IDebugProtocolServer, Integer), since each session
    of a tree gives a breakpoint its own id.
  • DAPDebuggerEditorsProvider.createExpressionCodeFragment(Project, String, FileType, Language) is deprecated for the
    method that also takes isPhysical, LSPFormattingParams.textRange() and LSPFormattingSupport.format with one
    TextRange for those with a list of ranges, and LSPInlayHintsProvider.PROVIDER_ID for getProviderId(String).
  • LSP4IJ bundles LSP4J's debug modules at 1.0.0, the version of its other LSP4J modules, instead of 0.21.0:
    DataBreakpointInfoArguments' frameId is an Integer there.

Thanks

Thanks to everyone who contributed to this release: @angelozerr, @AzazelSensei, @bamboo, @bodiam, @CppCXY,
@d-biehl, @emillaine, @ethanhann, @halflifefan, @hgschmie, @HuiJun, @lagergren, @leotimus, @muescha, @nageshbc,
@NotAFlightRisk, @SCWells72, @sergeysavchuk, @Serial-ATA, @ShiningPluto, @sohamsakhare76-ai, @StephanWald and @zzeekk.

Special thanks to @d-biehl for several instances of one language server per project and the work on moved files,
@hgschmie for workspace diagnostics, @sohamsakhare76-ai for directory environments, macros in DAP parameters and the
name and version of a language server in the LSP consoles, and @muescha for many DAP fixes and much of the
documentation.

Special thanks also to @lagergren for most of the debugger work (pause, function and data breakpoints, hit
conditions, logpoints, Reset Frame, the Debug console, and lazy, paged and hexadecimal variables), the socket transport,
willSave, workspace/textDocumentContent and linked editing, and the fixes to document synchronization, workspace
edits and deadlocks.

The full list of changes is in the 0.30.0 milestone.

Activity

  1. added this to the 0.30.0 milestone on Nov 11, 2026
  2. lagergren commented on Nov 16, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr one more fix is in 0.30.0: #1997, merged today as 21a3f42, for a case that @d-biehl found in #1932 after #1932 and #1967 were merged.

    A definition with several instances whose client features set a server installer in createClientFeatures(), as the Ruby LSP and BAML plugins do, got no language server for a file in a root without an instance. Each new instance was disposed while its own installer still checked the installation, and the end of that check created the next instance, with a new check. A new instance now waits for the check of its own installer, and nothing else starts it before that check ends.

    It only concerns several instances, which no release has yet, so neither the change notes nor this announcement change. The Developer Guide now says that client features which leave out files by the root of their instance should decide that before they call super.isEnabled(file).

    main is green on 21a3f42, with all 7 checks, the Plugin Verifier among them. Every pull request of the 0.30.0 milestone is merged, and this issue is its only open item. I'll count the commits and contributors in the announcement again on release day.

  3. muescha commented on Nov 17, 2026

    @muescha
    Contributor

    @lagergren FYI: I found a few issues in my backlog and prepared issues/PRs. See: #1809 (reply in thread)

  4. lagergren commented on Nov 20, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr two questions now that 0.30.1 is out:

    1. Release notes. The 0.30.1 release on GitHub had no notes, since its changelog only covered 0.30.0..0.30.1, and 0.30.0 has a tag but no release: its release run published it and pushed the tag, but stopped at the version increment, before the changelog. I gave 0.30.1 the notes of the 289 commits from 0.21.0 to 0.30.0, as simple-conventional-changelog 0.0.13 makes them with the workflow's type mapping (a copy of its logic, which gives the published notes of 0.19.0, 0.19.4, 0.20.1 and 0.20.2 exactly; the action itself would have stopped at 250 commits, the most that GitHub's compare API returns in one page). Should the announcement above, with the counts of release day, go into LSP4IJ 0.30.0 Release #1809, or would you rather post it yourself?

    2. 0.30.2. The milestone has six PRs merged so far:

      When do you plan to release it? We'd like to move the XTC plugin to it, since it needs fix: give a document opened from workspace/textDocumentContent the features of its server #2028, fix: pull workspace diagnostics again when the server cancels a pull itself #2029 and fix: collect the diagnostics of a file only once its document is committed #2031.

  5. angelozerr commented on Nov 20, 2026

    @angelozerr
    Contributor

    When do you plan to release it?

    You mean 0.30.2 ?

  6. lagergren commented on Nov 20, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr yes, 0.30.2. Since my comment, two more PRs are merged into it: #2032 (the deprecated IntelliJ APIs of #1971 that have a replacement in 2024.2) and #2033 (tests only). Four more are open for it, all green, and wait for CodeRabbit, which reviews two PRs an hour:

    Once those are in, 0.30.2 is ready on our side.

  7. angelozerr commented on Nov 20, 2026

    @angelozerr
    Contributor

    @lagergren thanks for your explanation. When you think 0.30.2 will be ready please ping me.

  8. lagergren commented on Nov 20, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr two more are merged into 0.30.2: #2037, which fixes #2036, and #2034. Five are open for it, green, and wait for CodeRabbit: #2035, #2039, #2040, #2041 and #2043.

    Could you give me a CodeRabbit seat in the redhat-developer organization? CodeRabbit says: "This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat", so my PRs get two reviews an hour, and each one past that waits up to an hour. An organization admin can assign the seat in the CodeRabbit dashboard.

  9. lagergren commented on Nov 21, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr two things.

    0.30.2: 18 PRs are merged into it so far, and 8 more are open, waiting for CodeRabbit, which reviews two an hour. I'll ping you when they're in.

    A proposal for the releases. From 0.21.0 (Aug 31) to 0.30.0 (Nov 19) was eleven weeks and about 250 commits, so fixes merged in September reached users in November. JetBrains' LSP client gets new features in each IntelliJ release, and with 2026.2 it becomes open source and comes to Android Studio, so I think releasing often is where LSP4IJ can stay ahead. I'd suggest:

    1. A release every two or three weeks, from main, with whatever is merged by then. Smaller releases are also easier to check, and to fix when something slips through.
    2. A release workflow that can be rerun. The first 0.30.0 run published to the Marketplace and pushed the tag, and then failed at Increment Plugin Version, as the Main protection ruleset refused its push to main (GH013: Repository rule violations). The ruleset was changed afterwards, and 0.30.1 went through. But a rerun fails on the version and the tag that the failed run already published, which is why 0.30.0 has no GitHub release: the workflow could skip publishing and tagging when they're already done. I can open a PR for that.
    3. A second person who can release, so that a release doesn't have to wait for you: I'd be glad to run the release workflow when you're busy, if you're OK with it.
    4. The merge rule written down in CONTRIBUTING.md: green CI on the three IntelliJ versions, CodeRabbit's comments addressed, and a maintainer's OK. That is what we follow now.
    5. Triage access for regular contributors, such as muescha, so that they can be asked for a review: GitHub only lets me request reviews from collaborators of the repository.

    What do you think?

  10. added
    documentation
    on Nov 21, 2026
  11. angelozerr commented on Nov 21, 2026

    @angelozerr
    Contributor

    @angelozerr two things.

    0.30.2: 18 PRs are merged into it so far, and 8 more are open, waiting for CodeRabbit, which reviews two an hour. I'll ping you when they're in.

    A proposal for the releases. From 0.21.0 (Aug 31) to 0.30.0 (Nov 19) was eleven weeks and about 250 commits, so fixes merged in September reached users in November. JetBrains' LSP client gets new features in each IntelliJ release, and with 2026.2 it becomes open source and comes to Android Studio, so I think releasing often is where LSP4IJ can stay ahead. I'd suggest:

    1. A release every two or three weeks, from main, with whatever is merged by then. Smaller releases are also easier to check, and to fix when something slips through.

    As you are doing a lot of changes, it makes sense. The only requirement is that IBM Liberty Tool wants to test each LSP4IJ release to avoid have some trouble. So you will need to create a discussion and do like I did and wait for 2 days (or a go from IBM).

    @anusreelakshmi934 are you OK with this new process release?

    1. A release workflow that can be rerun. The first 0.30.0 run published to the Marketplace and pushed the tag, and then failed at Increment Plugin Version, as the Main protection ruleset refused its push to main (GH013: Repository rule violations). The ruleset was changed afterwards, and 0.30.1 went through. But a rerun fails on the version and the tag that the failed run already published, which is why 0.30.0 has no GitHub release: the workflow could skip publishing and tagging when they're already done. I can open a PR for that.

    If it fixes the issue, yes sure. It should just to continue to create github release when release is started.

    1. A second person who can release, so that a release doesn't have to wait for you: I'd be glad to run the release workflow when you're busy, if you're OK with it.

    First I don't know if you have this right? But as I said, before starting the release, we need to create a discussion like I did.

    Clicking on Release button will not take some times :)

    1. The merge rule written down in CONTRIBUTING.md: green CI on the three IntelliJ versions, CodeRabbit's comments addressed, and a maintainer's OK. That is what we follow now.

    Sorry I have not understood.

    1. Triage access for regular contributors, such as muescha, so that they can be asked for a review: GitHub only lets me request reviews from collaborators of the repository.

    @fbricon do you know how to do that?

    What do you think?

  12. muescha commented on Nov 22, 2026

    @muescha
    Contributor

    Should we close this issue and move everything related to 0.30.2 to a new issue titled "Draft announcement for LSP4IJ 0.30.2"?

  13. lagergren commented on Nov 22, 2026

    @lagergren
    CollaboratorAuthor

    @angelozerr about the merge rule: I meant a short section in CONTRIBUTING.md that says what a PR needs before it is merged, so that contributors know it up front, and a reviewer can point to it instead of explaining it in each PR:

    1. CI is green: the build, the tests on Linux, macOS and Windows, and the IntelliJ 2025.3 and 2026.3 legs.
    2. CodeRabbit's comments are addressed: fixed, or answered with a reason.
    3. A maintainer approves the PR.

    That's what we do today; this only writes it down. I can open a PR with the section, so you can see the wording.

  14. lagergren commented on Nov 25, 2026

    @lagergren
    CollaboratorAuthor

    Closing in favour of #2266, the draft announcement for 0.30.2, as muescha suggested.

  15. angelozerr commented on Nov 25, 2026

    @angelozerr
    Contributor

    @angelozerr about the merge rule: I meant a short section in CONTRIBUTING.md that says what a PR needs before it is merged, so that contributors know it up front, and a reviewer can point to it instead of explaining it in each PR:

    1. CI is green: the build, the tests on Linux, macOS and Windows, and the IntelliJ 2025.3 and 2026.3 legs.
    2. CodeRabbit's comments are addressed: fixed, or answered with a reason.
    3. A maintainer approves the PR.

    That's what we do today; this only writes it down. I can open a PR with the section, so you can see the wording.

    Sorry @lagergren I miss your comment.

    Nice idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentation

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions