Java template regression
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, typescript
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
The regression is in the new-file template chooser, which should show class, interface and enum options for a new .java file. Reproduce it with the java.templates.typeComment setting non-empty, then compare against the setting removed and against 1.55 to find where the chooser stops appearing. The payload names no source files, so locate the template handling in the extension's TypeScript sources first. Done means the chooser appears with the setting set and the change is covered by a test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
After updating to 1.56.0, the Java template chooser no longer appears when creating a new Java file.
To Reproduce
Steps to reproduce the behavior:
-
Add
"java.templates.typeComment": ["/// ", "///", "/// @author ${user}"],or any other non-empty array to your workspace settings. -
Create a new file
Foo.javavia the explorer -
The usual chooser for
class Foo, interface Foo, enum Fooshould appear but does not.
Environment
- Operating System: MacOS 14.6
- JDK version: OpenJDK Runtime Environment Temurin-25.0.4+7
- Visual Studio Code version: 1.141.0
- Java extension version: 1.56.0
Workaround
Remove the java.templates.typeComment setting.
- Ngôn ngữ chính
- TypeScript
- Star
- 2.3k
- Fork
- 549
- Merge trung bình
- 8 giờ 20 phút
- Pull request đã merge (30 ngày)
- 6
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/vscode-java
-
JDK_HOME can be sorted after lower-priority auto-detected JDK sourcesCó thể đã có người làm @shblue21 đã nhận 119 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
redhat-developer/vscode-java#4426 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
redhat-developer/vscode-java#4537 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug Lombok
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
redhat-developer/vscode-java#4521 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug need info
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
redhat-developer/vscode-java#4520 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
redhat-developer/vscode-java#4517 · 1 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/vscode-java
Issue tương tự
-
🐛 Bug: Calendar work items cannot be opened on mobileCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: [A11y] Missing accessible name on icon-only standalone links (WCAG 2.1 SC 2.4.4, 4.1.2)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jaegertracing/jaeger-ui#4596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
anthropics/claude-code#101490 ·
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 66/100
netlify/netlify-mcp#75 ·
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
Maintainer thường phản hồi trong vòng 1 ngày