Installers: a server created when its binary is already installed keeps the template's command (and three test gaps from CodeRabbit)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Start with the 38 installer templates under src/main/resources/templates and trace how each check and configureServer step handles an already installed binary. Preserve user changes to the command while making the installed binary available to newly created servers. The issue also lists test gaps in #1924, #1938, and #1986; check those issues for their relevant test files and expected assertions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Two leftovers from CodeRabbit's reviews of PRs merged for 0.30.0, collected so they aren't lost. Neither is new in 0.30.0, and neither blocks it.
A server created when its binary is already installed keeps the template's command
CodeRabbit noted this on #1926 (cpp_ls), but every installer works this way. The 38 installers under src/main/resources/templates set the server's command (configureServer) only in the steps that run after a download, and none in their check. So when the check finds the server already installed (for example, when a language server is created again from its template, or a second one from the same template), the download is skipped, and the new language server keeps the template's command, such as cpp_ls. That works only if the binary is on the PATH.
Suggestion: also set the command when the check finds the server installed, without overwriting a command the user has changed.
Test gaps (no change in behavior)
- #1924: the EDT tests start with read access, so they don't show that
ApplicationUtils' overloads acquire it. Assert there is no read access before each call. - #1938:
DAPValueReadOnlyTestchecks thereadOnlyhint, but notgetModifier(). WhensetVariableis supported, assert that a read-only variable gets no modifier and a writable one does. - #1986:
ConnectingServerusesInetAddress.getLoopbackAddress(), which returns::1only withjava.net.preferIPv6Addresses=true, so the accept test covers only127.0.0.1. Cover the IPv4 listener when the JVM prefers IPv6.
- Lingua principale
- Java
- Stelle
- 360
- Fork
- 125
- Merge medio
- 14h 13m
- PR unite (30g)
- 189
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 redhat-developer/lsp4ij
-
Start errors are easy to missForse già presa @libirevanth364 l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
redhat-developer/lsp4ij#1945 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Promote LSP4IJ Getting Started in the LSP consoleForse di nuovo libera @RehanChalana l’ha presa 105 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
redhat-developer/lsp4ij#27 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug completion not reproducible performance
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
redhat-developer/lsp4ij#2018 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug codeAction documentLink not reproducible performance semantic tokens
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
redhat-developer/lsp4ij#2017 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Some freeze report of 0.20.1Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
redhat-developer/lsp4ij#2014 · 11 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di redhat-developer/lsp4ij
Issue simili
-
Bug feat:Syntax
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ignatov/intellij-erlang#1342 ·
I maintainer di solito rispondono entro 1 giorno
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsForse già presa @NassimBtk l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetricsHub/metricshub-community#1636 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] no hint/error message for max picture sizeForse già presa @flahamue l’ha presa oggi. ApertaType: Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
it-at-m/raumreservierung#439 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteAperta3rd party problem bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100