Skip to content

Generate the code repeatedly in new java file #2939

@yuyully

Description

@yuyully
Environment
  • Operating System: Mac
  • JDK version: 17.0.6
  • Visual Studio Code version: 1.75.1
  • Java extension version: 1.15.0
Steps To Reproduce
  1. Open a java project, like https://github.com/redhat-developer/vscode-java/tree/master/test/resources/projects/eclipse/simple-app
  2. Type the code File f = new File("demo.txt"); in a main method > Code Actions > Select Create class xxx, or Create interface xxx, or Create enum xxx

double-showing-code

Current Result

Show the code repeatedly in the new java file.

Expected Result

Only show the code one time

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions