Skip to content

docs: describe what #2102 changed in the New Language Server dialog and in installers - #2136

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:docs/what-2102-changed
Nov 23, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:docs/what-2102-changed

Conversation

@lagergren

@lagergren lagergren commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #2102 and #2094. #2094 documented three things as they were before #2102, which changed them:

Docs said Since #2102 Where
The New Language Server dialog "doesn't apply" a template's workingDir or its workspaceFolderSettings.json yet It gives the language server that it creates the working directory and the workspace folders of the template, also of an imported one (b0206f2) UserDefinedLanguageServerTemplate.md: the workingDir field and the template's files; UserDefinedLanguageServer.md: export; DeveloperGuide.md: workspace folders of a user-defined language server
LSP4IJ keeps the first check as done "also when it failed" An installation which failed, or whose run failed, isn't kept: the first start in the next IDE session checks again, and installs the server if the check fails. One that the user cancelled is kept (d245403) UserDefinedLanguageServerTemplate.md: when the installer runs
A showMessage task with actions waits until the user clicks one It also ends when its notification is closed, and then fails (d4d9fd6) UserDefinedLanguageServerTemplate.md: Task showMessage

Each was checked against main's code: NewLanguageServerDialog.loadFromTemplate, UserDefinedLanguageServerInstaller.initialize and ShowMessageTask.

Docs only, one commit on today's main. #2131, now merged, rewrote the same export paragraph of UserDefinedLanguageServer.md; this keeps its text and changes only the sentence about the workingDir.

@lagergren lagergren added this to the 0.30.2 milestone Nov 23, 2026
@lagergren lagergren added documentation Improvements or additions to documentation template-ls install labels Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5714998e-bb69-43e2-afed-0b0232be63a1
Commits

Reviewing files that changed from the base of the PR and between 1e40358 and d8bbced.

Files selected for processing: 3

  • docs/DeveloperGuide.md
  • docs/UserDefinedLanguageServer.md
  • docs/UserDefinedLanguageServerTemplate.md

lagergren added a commit that referenced this pull request Nov 23, 2026
…ebugger, as since #2102 (#2138)

## What

`main` fails `InstallerTaskRegistryInitializeTest.testTheBundledInstallersCheckWithInitializeOnceTheServerCommandRuns` on every platform since #2102 merged. It fails on #2119 ([run 45165528123](https://github.com/redhat-developer/lsp4ij/actions/runs/45165528123)), and on #2136, which changes only docs:

```
dap/python-debugpy:  expected [exec ${server.command}], was: no exec of ${server.command}
dap/ruby-rdbg:       expected [exec ${server.command}], was: no exec of ${server.command}
```

## Cause

Two pull requests that each passed on their own:
- #2091 added the test, at a time when the bundled python-debugpy and ruby-rdbg installers checked with an `exec` of `${server.command}`.
- #2102, merged after #2091, makes those two check that the debugger is installed, with `python3 -m debugpy --version` and `rdbg --version`, so that they install it only when it's missing. Its CI ran without #2091's test.

## Change

The installers are as #2102 meant them, so the test no longer expects an `exec` of `${server.command}` from those two, and its comment says why. Test only.

## Test

`InstallerTaskRegistryInitializeTest` (6 tests), and the `installation` and `launching.templates` packages with `BundledTemplateCommandsTest` (174 tests), pass on `main` with the change.
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.20%. Comparing base (d32f014) to head (d8bbced).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2136      +/-   ##
==========================================
- Coverage   53.21%   53.20%   -0.01%     
==========================================
  Files         826      826              
  Lines       34717    34717              
  Branches     5423     7143    +1720     
==========================================
- Hits        18473    18472       -1     
+ Misses      13474    13471       -3     
- Partials     2770     2774       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

… Server dialog and in installers

Three things that the docs still described as before redhat-developer#2102:
- the New Language Server dialog gives the language server that it
  creates the working directory and the workspace folders of the
  template, also of an imported one;
- an installation which failed, or whose run failed, isn't kept as done,
  so the next IDE session checks again; one that the user cancelled is;
- a showMessage task with actions also ends, and fails, when its
  notification is closed without a click.
@lagergren
lagergren force-pushed the docs/what-2102-changed branch from 39fc13b to d8bbced Compare November 23, 2026 13:47
@lagergren
lagergren merged commit a802177 into redhat-developer:main Nov 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation install template-ls

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant