UI Component for lsp4jakarta: Jakarta Version Selection Prompt when Multiple Versions Detected
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start by tracing how LTE handles JSON requests from the LSP4Jakarta language server; no source files or tests are named in the issue. Review UFO slide 18 for the dialog design, then identify the request and response flow. Done means Eclipse displays the detected versions, returns the selected version, and supports the described change-version action.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Implement the UI version-selection prompt in Liberty Tools for Eclipse (LTE) that is triggered when the LSP4Jakarta language server detects multiple Jakarta EE versions on the project classpath.
Background
As part of the version-aware LSP4Jakarta support (Jakarta EE 9, 10, and 11), the language server performs version detection. When a single version is found, it is used automatically without any prompt. When multiple versions are detected (e.g., EJB 10 and Validation 11 coexist on the class path), the language server sends a json request to the LTE client that includes the list of detected Jakarta EE versions. LTE must present this list to the user so they can select their desired version.
The user prompt design is captured in the UFO slide deck (slide 18 – "User Prompt Design").
This issue covers the LTE-specific implementation of that dialog and the associated "Change Jakarta version" action.
Change Jakarta version: Let’s add a 'Change Jakarta Version' option in the IDE. So users can switch from their current selection instead of being stuck. That way, we can stop showing repeated warnings about multiple versions. We should show the currently selected version clearly, so they know what they’re switching from.
Extended Client Capabilities — jakartaVersionSelector
LTE must declare the capability in the extended client capabilities block sent to LSP4Jakarta during initialization:
true — enables the version-selection popup. LSP4Jakarta will send a version-prompt request to the client when a conflict is detected.
false — disables the feature. LSP4Jakarta falls back to its default behaviour and will not send version-prompt requests.
LTE client capability flow: https://ibm.box.com/s/rl73k61m0bklbxxvu437bm67smb7khq6
Acceptance Criteria
- LTE handles the dialog request from the language server that carries the list of detected
Jakarta EE versions. - A version-selection dialog is displayed in Eclipse showing the versions received in the
dialog request. - The user's selection is communicated back to the language server so version-specific
diagnostics, quick fixes, and snippets are applied. - Change Jakarta version option from IDE
- Add extendedClientCapabilities setting for jakartaVersionSelector
References
- UFO: Eclipse LSP4Jakarta — Extending Jakarta Language Server with version-aware support (https://ibm.box.com/s/qye3o9smotmj1utouzxwd12079b8shay)
- Lingua principale
- Java
- Stelle
- 16
- Fork
- 20
- Merge medio
- 16h 1m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenLiberty/liberty-tools-eclipse
-
enhancement SVT
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenLiberty/liberty-tools-eclipse#699 · 1 commento ·
-
Custom "Organize Imports" order is ignored while Liberty Tools is installed (jdt.ls default order applied instead)Forse già presa @JoshwinThomasIBM l’ha presa 2 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
OpenLiberty/liberty-tools-eclipse#728 · 3 commenti · 1 assegnatario ·
-
1Q2027
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
4Q Release checklist - 26.0.12Forse di nuovo libera @muhamedshamsheer l’ha presa 58 giorni fa e non c’è nessuna pull request aperta. Aperta4Q2026 Release
OpenLiberty/liberty-tools-eclipse#709 · 1 assegnatario ·
Tutte le issue di OpenLiberty/liberty-tools-eclipse
Issue simili
-
effort/l priority/p1 risk/high triage/core
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
iflytek/skillhub#1188 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
testng-team/testng#3675 ·
I maintainer di solito rispondono entro 1 giorno
-
design
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenLiberty/liberty-tools-intellij#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
`ovsx verify` fails for a version older than the 100 newest of an extensionForse già presa @trivikr l’ha presa oggi. Apertacli
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
eclipse-openvsx/openvsx#2482 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno