Skip to content

How to turn off the automatic creation of class body when creating a new java fileΒ #2652

@xxc-zsz

Description

@xxc-zsz

Create new file #
VS Code supports applying templates when you create a Java source file. When you create a .java file in the File Explorer, the language server will automatically generate the class body, and fill the package info for you: video

I found this is the April 2020 update.

my question:
Is there a way to turn off this feature?
Or is it possible generate the main method at the same time as the class body is automatically generated?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions