Skip to content

Create file or method from quick fix doesn't work. #4320

@yuyully

Description

@yuyully
Environment
  • Operating System: Windows
  • JDK version: 21.0.8
  • Visual Studio Code version: 1.108.2
  • Java extension version: 1.52.0
Steps To Reproduce
  1. Open a java project > New a java file
  2. Set "editor.pasteAs.enabled": false
  3. Copy File f = new File("demo.txt"); into the java file > Create file from quick fix > It doesn't work
  4. Copy Foo f = new Foo(); f.call(); into the java file > Create method from quick fix > It doesn't work
Current Result
Image Image
Expected Result

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions