Repository navigation
Description
@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:
- The counts (283 commits, 23 contributors, 284 closed milestone items) are as of Nov 17, after the last 0.30.0 PR (fix: send the exit notification before the connection of a stopped language server closes #2013) was merged. I'll count again on release day.
- The handles under Thanks are in backticks so that nobody is notified until the real post.
- The Special thanks line for me is a suggestion: keep, reword or drop it.
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,willSaveandwillSaveWaitUntil,
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 inRun | View Breakpoints.... - Data breakpoints:
right-click a variable and chooseBreak on Value Change. - Hit conditions such as
>= 3, and conditions on exception breakpoint filters. - Logpoints: a breakpoint whose
Suspendoption is unchecked logs without stopping. - Reset Frame restarts a
stack frame. - Step only the current thread,
with DAP'ssingleThread. - 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 withtextDocument/inlineValue. - Large variables are
read 100 elements at a time,
lazy variables get a
Show valuelink, and values can be shown as
hexadecimal numbers. - Loaded Sources and Modules
tabs. - The
exceptionInfoof 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 afterSet 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
invalidatedevent, and a failed launch shows its real error. - Child sessions: a debug session that
startDebuggingsplit 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 withoutterminatedends as if it had sent it. - A debug adapter's
capabilitiesevent applies: an adapter that turns onSet 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
ClassCastExceptionwhile 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 therelatedDocumentsof pull diagnostic reports. workspace/textDocumentContent:
library sources, decompiled classes and generated code that the server provides open in a read-only editor.textDocument/willSaveandwillSaveWaitUntil,
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
activeParameterof 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/resolvegives, 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, withserverInstancesandrootTypeormarkers. 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, on127.0.0.1or::1, whichever a language server
onlocalhostgets. Templates can set it with
socketandtransports.
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--stdiofor--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 explicitnull
values in settings are kept. - Installers get a
fileExiststask, 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,didChangeanddidCloseare 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,RenameFileoptions are honored, andworkspace/willRenameFilesis 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 betweencompletionItem/resolveand
publishDiagnosticsis 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 theexit
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 -corsh -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 removesh -corsh -sfrom 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, asC:\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 itsinitialize
response.DebugAdapterDescriptor.createStartServerCommandLine(String, Map, boolean)is deprecated for the method that also
takes the working directory, andDAPDebugProcess.findBreakpointById(Integer)and
BreakpointHandlerBase.DAP_BREAKPOINT_IDforfindBreakpointById(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 takesisPhysical,LSPFormattingParams.textRange()andLSPFormattingSupport.formatwith one
TextRangefor those with a list of ranges, andLSPInlayHintsProvider.PROVIDER_IDforgetProviderId(String).- LSP4IJ bundles LSP4J's debug modules at 1.0.0, the version of its other LSP4J modules, instead of 0.21.0:
DataBreakpointInfoArguments'frameIdis anIntegerthere.
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
lagergren commentedon Nov 16, 2026
@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.
muescha commentedon Nov 17, 2026
@lagergren FYI: I found a few issues in my backlog and prepared issues/PRs. See: #1809 (reply in thread)
lagergren commentedon Nov 20, 2026
@angelozerr two questions now that 0.30.1 is out:
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-changelog0.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?0.30.2. The milestone has six PRs merged so far:
workspace/textDocumentContentgets the features of its server (No language features in a document opened from workspace/textDocumentContent #2026);hitBreakpointIdsalso on the line where the debug adapter moved it #2002 and fix(dap): bring the debugger to the front when any kind of breakpoint stops the program #2004 by @muescha: DAP stops withouthitBreakpointIds, and the debugger comes to the front for any kind of breakpoint;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.
angelozerr commentedon Nov 20, 2026
You mean 0.30.2 ?
lagergren commentedon Nov 20, 2026
@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:
catchblocks kept for versions before 2024.2.Once those are in, 0.30.2 is ready on our side.
angelozerr commentedon Nov 20, 2026
@lagergren thanks for your explanation. When you think 0.30.2 will be ready please ping me.
lagergren commentedon Nov 20, 2026
@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.
lagergren commentedon Nov 21, 2026
@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:
main, with whatever is merged by then. Smaller releases are also easier to check, and to fix when something slips through.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.CONTRIBUTING.md: green CI on the three IntelliJ versions, CodeRabbit's comments addressed, and a maintainer's OK. That is what we follow now.What do you think?
angelozerr commentedon Nov 21, 2026
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?
If it fixes the issue, yes sure. It should just to continue to create github release when release is started.
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 :)
Sorry I have not understood.
@fbricon do you know how to do that?
muescha commentedon Nov 22, 2026
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"?
build: let a run of the release workflow that failed half-way be run …
lagergren commentedon Nov 22, 2026
@angelozerr about the merge rule: I meant a short section in
CONTRIBUTING.mdthat 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: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.
lagergren commentedon Nov 25, 2026
Closing in favour of #2266, the draft announcement for 0.30.2, as
mueschasuggested.angelozerr commentedon Nov 25, 2026
Sorry @lagergren I miss your comment.
Nice idea!