Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ksiazekm opened this issue Jan 19, 2025 · 1 comment
Open

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

ksiazekm opened this issue Jan 19, 2025 · 1 comment
Labels
bug bugs found in the application vscode issues related to VSCode compatibility

Comments

@ksiazekm
Copy link

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

@msujew
Copy link
Member

msujew commented Jan 19, 2025

Likely related to #14395.

@msujew msujew added bug bugs found in the application vscode issues related to VSCode compatibility labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application vscode issues related to VSCode compatibility
Projects
None yet
Development

No branches or pull requests

2 participants