LadyCailin opened a new issue #3768:
URL: https://github.com/apache/netbeans/issues/3768
### Apache NetBeans version
Apache NetBeans 13
### What happened
Autocomplete for method override does not work, and instead deletes entered
text, and does not create method stub.
### How to reproduce
1. Begin typing at the top level of a class, as if to add a new method
("didCh").
2. Select the autocomplete option to override the selected method
("didChangeWorkspaceFolder")
3. Hit enter
4. The text and autocomplete box disappears, but no method stub is created.
This only appears to happen in this one specific file, not generally, but it
is does happen for any method (not just didChangeWorkspaceFolder) and is
reproduceable both on 12.6 and 13. It also works fine if, instead of typing
something first, you just hit ctrl-space, type nothing, but scroll to the
selected method and hit enter, however hitting ctrl-space, then typing some to
filter the list, and then hitting enter also fails. It appears that typing some
is the required catalyst.
Specifically, this occurs when trying to override methods while in the
LangServ.java file.
(Checkout fc3603f3de7d28983010530fdf63e14fa1fda6e6 and edit this file:
https://github.com/EngineHub/CommandHelper/blob/fc3603f3de7d28983010530fdf63e14fa1fda6e6/src/main/java/com/laytonsmith/tools/langserv/LangServ.java)
I selected that this worked in 12.5, but I don't actually know when this
broke, and I only have 12.6 and 13 installed to test against.
### Did this work correctly in an earlier version?
Apache NetBeans 12.5
### Operating System
Windows 10
### JDK
Adoptium JDK 17
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists