Apache NetBeans version
Apache NetBeans 28
What happened
Autocompletion for assigning a variable to a given method automatically does not work anymore.
e.g.
given the line:
getGreeting();
pressing [ALT + ENTER] when positioning the cursor in getGreeting used to complete the code to:
String getgreeting= getGreeting();
Now nothing happens. I can't find another (new) way to complete the code.
Language / Project Type / NetBeans Component
code completion
How to reproduce
Type in a line with a method which is returning a value without assigning a variable to the return value.
position the cursor on the method, press [ALT + ENTER] ...
Did this work correctly in an earlier version?
Apache NetBeans 25
Operating System
Win11
JDK
JDK 21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Apache NetBeans version
Apache NetBeans 28
What happened
Autocompletion for assigning a variable to a given method automatically does not work anymore.
e.g.
given the line:
getGreeting();
pressing [ALT + ENTER] when positioning the cursor in getGreeting used to complete the code to:
String getgreeting= getGreeting();
Now nothing happens. I can't find another (new) way to complete the code.
Language / Project Type / NetBeans Component
code completion
How to reproduce
Type in a line with a method which is returning a value without assigning a variable to the return value.
position the cursor on the method, press [ALT + ENTER] ...
Did this work correctly in an earlier version?
Apache NetBeans 25
Operating System
Win11
JDK
JDK 21
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No