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

Add java final variable to existing constructor feature is gone. #3873

Open
nguyencobap opened this issue Nov 25, 2024 · 0 comments
Open

Add java final variable to existing constructor feature is gone. #3873

nguyencobap opened this issue Nov 25, 2024 · 0 comments

Comments

@nguyencobap
Copy link

In previous version (I dont know cause of this is vscode itself or extension) when I create a final variable and not init it, vscode will suggest add this variable to class constructor. I just have to ctrl + . at class constructor and vscode will suggest add this variable to existing constructor. Now this feature is gone.

When I hover constructor there is an exception in log:

ERR Internal error.: Error: Internal error.
at /home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1072098
at re (/home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1072392)
at /home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1067176
at Immediate. (/home/maychu1/.vscode-server/extensions/redhat.java-1.36.0-linux-x64/dist/extension.js:2:1067196)
at process.processImmediate (node:internal/timers:483:21)

Image

Step to produces:

Create a java class in spring boot project.
Create an empty constructor.
Create a final varibable.
Ctrl + . at class constructor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant