[
https://issues.apache.org/jira/browse/NETBEANS-6111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bien resolved NETBEANS-6111.
------------------------------------
Fix Version/s: 12.6
Resolution: Fixed
> NetBeans autocompletion really likes to suggest "record"
> --------------------------------------------------------
>
> Key: NETBEANS-6111
> URL: https://issues.apache.org/jira/browse/NETBEANS-6111
> Project: NetBeans
> Issue Type: Bug
> Components: java - Editor
> Affects Versions: 12.5
> Reporter: Michael Bien
> Priority: Minor
> Labels: pull-request-available
> Fix For: 12.6
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> Records are pretty cool, but NetBeans pushes the keyword a little bit too
> hard.
> Take a look at this code:
> {code:java}
> public class NewClass2 {
> public static void main(String[] args) {
> foo|
> }
> }{code}
> put the cursor where the | is and press ctrl + space. You will see only the
> keyword "record" being suggested. Applying the suggestion would replace foo
> with "record" which does not make a lot of sense.
> Tested on JDK 17 and 15, probably reproducible on others too - post record
> introduction.
> issue was brought up on the #netbeans irc channel
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
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