Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Java template regression

オープン
#4,539 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 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 の本文から書いたものです。

説明

bug

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:

  1. Add "java.templates.typeComment": ["/// ", "///", "/// @author ${user}"], or any other non-empty array to your workspace settings.

  2. Create a new file Foo.java via the explorer

  3. The usual chooser for class Foo, interface Foo, enum Foo should 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

redhat-developer/vscode-java のほかの issue

redhat-developer/vscode-java の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。