Java template regression
メンテナーはふだん 1 日以内に返信
@VelpulaGangavardhan がすでに取り組んでいます。
2026年10月15日 から。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 548
- 平均マージ
- 3日 8時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-developer/vscode-java のほかの issue
-
JDK_HOME can be sorted after lower-priority auto-detected JDK sources対応中かも @shblue21 が 123 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
redhat-developer/vscode-java#4426 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
redhat-developer/vscode-java#4549 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Remove the experimental javac mode対応中かも @robstryker が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 25/100
redhat-developer/vscode-java#4546 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
redhat-developer/vscode-java#4537 ·
メンテナーはふだん 1 日以内に返信
-
bug Lombok
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
redhat-developer/vscode-java#4521 · コメント 26 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信
redhat-developer/vscode-java の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melgarafael/DeskcommCRM#3000 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
callstackincubator/simlock#639 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
aws/agentcore-cli#2606 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 7 日以内に返信
-
ai-driven-qa bug Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信