Skip to content

Code action 'Create method...' does not work #3780

@loralei28

Description

@loralei28
Environment
  • Operating System: Windows
  • JDK version:17
  • Visual Studio Code version:1.93.1
  • Java extension version: redhat-1.35.0
Steps To Reproduce
  1. Create a new Java file, for example Test.java
  2. In Test.java file, invoke class and main code snippet to generate code
  3. Type bar();
  4. Click ‘Quick fix..’ in the java file or click 'Show fix' in the error window
  5. Select code action "Create method 'bar()'"
Current Result

”Create method 'bar()'“ does not work and will delete "bar()"
3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions