Skip to content

Class constructor not created when used 'Add constructor ...' option #14741

Open
@ksiazekm

Description

@ksiazekm

Bug Description:

When create class that extends other one and implements some interfaces 'Add constructor' option does not actually add it. Nothing happens. When same for 'Add unimplemented methods' works as expected.

Image

Steps to Reproduce:

  1. Create simple Java project.
  2. Create class to be extended (Animal) and two interfaces to be implemented (Moveable, Speakable)
  3. Create class that extends the one from point 2 and implementing those two interfaces.
  4. Open to edit the class created in point 3., it is underlined with red line.
  5. Put cursor on the class name, yellow bulb icon shows in the next line.
  6. Click on yellow bulb shown in point 5 and choose 'Add constructor' from the context menu.
  7. Nothing happens, constructor is not added.

Additional Information

  • Operating System: Fedora Linux 41
  • Theia Version: 1.57.1 / 1.57.100
    All src files in the attached archive.

src.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs found in the applicationvscodeissues related to VSCode compatibility

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions