Installers: a server created when its binary is already installed keeps the template's command (and three test gaps from CodeRabbit)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 360
- Fork
- 125
- Merge trung bình
- 14 giờ 13 phút
- Pull request đã merge (30 ngày)
- 189
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của redhat-developer/lsp4ij
-
Start errors are easy to missCó thể đã có người làm @libirevanth364 đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
redhat-developer/lsp4ij#1945 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Promote LSP4IJ Getting Started in the LSP consoleCó thể làm lại được @RehanChalana đã nhận 105 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
redhat-developer/lsp4ij#27 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug completion not reproducible performance
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/lsp4ij#2018 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug codeAction documentLink not reproducible performance semantic tokens
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/lsp4ij#2017 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Some freeze report of 0.20.1Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/lsp4ij#2014 · 11 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của redhat-developer/lsp4ij
Issue tương tự
-
Bug feat:Syntax
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ignatov/intellij-erlang#1342 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Flaky EnrollmentCoordinatorTest.theNewSettingsShouldNotInheritTheFormerOnesBackoff on WindowsCó thể đã có người làm @NassimBtk đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetricsHub/metricshub-community#1636 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] no hint/error message for max picture sizeCó thể đã có người làm @flahamue đã nhận hôm nay. Đang mởType: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
it-at-m/raumreservierung#439 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Copy/paste broken on Linux: ClassCastException (HeapByteBuffer → byte[]) in ClipboardActions.pasteĐang mở3rd party problem bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100