Skip to content

Java template regression #4539

Description

@hwellmann

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions