-
Notifications
You must be signed in to change notification settings - Fork 874
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
Access/visibility declaration lost when changing with auto complete #4629
Comments
The error is reproduced on NetBeans 15 on
and on
Stacktrace error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apache NetBeans version
Apache NetBeans 15 release candidate
What happened
I'm on NB15 using it for PHP dev.
When changing an existing visibility declaration on a class property or method pressing enter or clicking it from the auto complete list will remove it.
How to reproduce
Create a new method in class.
Highlight

private
and start to typepu
to get the auto complete list.Hit enter or double click
public
from the list.The visibility declaration is cleared.
Did this work correctly in an earlier version?
Apache NetBeans 14
Operating System
Windows 10 Pro
JDK
13.0.2+8
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: