[jira] [Updated] (NETBEANS-4641) Code auto formatting for try-with-resources statements
[ https://issues.apache.org/jira/browse/NETBEANS-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Michaely updated NETBEANS-4641: - Affects Version/s: 13 > Code auto formatting for try-with-resources statements > -- > > Key: NETBEANS-4641 > URL: https://issues.apache.org/jira/browse/NETBEANS-4641 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation, java - Editor >Affects Versions: 12.0, 13 > Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin > download >Reporter: Bernd Michaely >Priority: Major > > Since NB 12.0, auto formatting for try-with-resources statements adds an > additional space after the opening parenthesis after the try keyword. To > reproduce the problem, choose: > Menu »Tools« → Options → Editor → Formatting → > Language »Java« and Category »Spaces« → > Tree item »Within Parentheses« → Checkbox "try" > If checked, two spaces are added after the opening parenthesis after try, if > unchecked, one space is added, instead of one and zero. > (Note, that there is also no example available in the preview. There is for > try-catch, but not for try-with-resources.) > -- This message was sent by Atlassian Jira (v8.20.7#820007) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-4641) Code auto formatting for try-with-resources statements
[ https://issues.apache.org/jira/browse/NETBEANS-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bernd Michaely updated NETBEANS-4641: - Priority: Major (was: Minor) > Code auto formatting for try-with-resources statements > -- > > Key: NETBEANS-4641 > URL: https://issues.apache.org/jira/browse/NETBEANS-4641 > Project: NetBeans > Issue Type: Bug > Components: editor - Formatting & Indentation, java - Editor >Affects Versions: 12.0 > Environment: Arch Linux, AdoptOpenJDK 14.0.1, official NB 12.0 bin > download >Reporter: Bernd Michaely >Priority: Major > > Since NB 12.0, auto formatting for try-with-resources statements adds an > additional space after the opening parenthesis after the try keyword. To > reproduce the problem, choose: > Menu »Tools« → Options → Editor → Formatting → > Language »Java« and Category »Spaces« → > Tree item »Within Parentheses« → Checkbox "try" > If checked, two spaces are added after the opening parenthesis after try, if > unchecked, one space is added, instead of one and zero. > (Note, that there is also no example available in the preview. There is for > try-catch, but not for try-with-resources.) > -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists