Installers: a server created when its binary is already installed keeps the template's command (and three test gaps from CodeRabbit)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Java
- スター
- 360
- フォーク
- 125
- 平均マージ
- 14時間 13分
- マージ済み PR(30日)
- 189
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-developer/lsp4ij のほかの issue
-
Start errors are easy to miss対応中かも @libirevanth364 が 6 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
redhat-developer/lsp4ij#1945 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Promote LSP4IJ Getting Started in the LSP console再び着手できるかも @RehanChalana が 105 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
redhat-developer/lsp4ij#27 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug completion not reproducible performance
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
redhat-developer/lsp4ij#2018 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
bug codeAction documentLink not reproducible performance semantic tokens
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
redhat-developer/lsp4ij#2017 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
redhat-developer/lsp4ij#2014 · コメント 11 件 ·
メンテナーはふだん 1 日以内に返信
redhat-developer/lsp4ij の issue をすべて見る
似ている issue
-
Bug feat:Syntax
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ignatov/intellij-erlang#1342 ·
メンテナーはふだん 1 日以内に返信
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on Windows対応中かも @NassimBtk が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MetricsHub/metricshub-community#1636 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] no hint/error message for max picture size対応中かも @flahamue が今日担当しました。 オープンType: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
it-at-m/raumreservierung#439 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteオープン3rd party problem bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100