[jira] [Updated] (NETBEANS-4676) Bad format to try-with-resources
[ https://issues.apache.org/jira/browse/NETBEANS-4676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Catala updated NETBEANS-4676: Attachment: Captura de pantalla de 2020-08-03 19-14-32.png > Bad format to try-with-resources > > > Key: NETBEANS-4676 > URL: https://issues.apache.org/jira/browse/NETBEANS-4676 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 12.0, 11.3 >Reporter: Eduard Catala >Priority: Major > Attachments: Captura de pantalla de 2020-08-03 19-14-32.png > > > NB applies incorrect java code formatting in try-with-resources (adding a > space), see attached image. > > it sounds silly but if you have the format on save activated, and the code > repository has some sort of code style checking (my case) is impossible to > commit code written with nb (you can disable format on save, but you have to > format your java classes manually). > > -- 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
[jira] [Created] (NETBEANS-4676) Bad format to try-with-resources
Eduard Catala created NETBEANS-4676: --- Summary: Bad format to try-with-resources Key: NETBEANS-4676 URL: https://issues.apache.org/jira/browse/NETBEANS-4676 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 11.3, 12.0 Reporter: Eduard Catala Attachments: Captura de pantalla de 2020-08-03 19-14-32.png NB applies incorrect java code formatting in try-with-resources (adding a space), see attached image. it sounds silly but if you have the format on save activated, and the code repository has some sort of code style checking (my case) is impossible to commit code written with nb (you can disable format on save, but you have to format your java classes manually). -- 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
[jira] [Updated] (NETBEANS-2914) Fix imports not working properly
[ https://issues.apache.org/jira/browse/NETBEANS-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eduard Catala updated NETBEANS-2914: Description: Steps to reproduce: Create a simple project (maven) Include a dependency: {\{ }} {{ io.reactivex.rxjava2}} {{ rxjava}} {{ 2.2.10}} \{{ }} Create a main method: {{public class Main {}} {{ public static void main(String[] args) {}} {{ Single s;}} {{ }}} {{}}} Fix imports (works) Fix imports twice: The fix imports dialog is shown with incorrect import proposal (view attached screenshot). Having the option "fix imports on save" is a nigthmare! was: Steps to reproduce: Create a simple project (maven) Include a dependency: {{ }} {{ io.reactivex.rxjava2}} {{ rxjava}} {{ 2.2.10}} {{ }} Create a main method: {{public class Main {}} {{ public static void main(String[] args) {}} {{ Single s;}} {{ }}} {{}}} Fix imports (works) Fix imports: The fix imports dialog is shown with incorrect import proposal (view attached screenshot). Having the option "fix imports on save" is a nigthmare! > Fix imports not working properly > > > Key: NETBEANS-2914 > URL: https://issues.apache.org/jira/browse/NETBEANS-2914 > Project: NetBeans > Issue Type: Bug > Components: java - Editor >Affects Versions: 11.1 >Reporter: Eduard Catala >Priority: Major > Attachments: Captura de pantalla de 2019-07-29 18-55-06.png > > > Steps to reproduce: > Create a simple project (maven) > Include a dependency: > {\{ }} > {{ io.reactivex.rxjava2}} > {{ rxjava}} > {{ 2.2.10}} > \{{ }} > > Create a main method: > > {{public class Main {}} > {{ public static void main(String[] args) {}} > {{ Single s;}} > {{ }}} > {{}}} > > Fix imports (works) > Fix imports twice: The fix imports dialog is shown with incorrect import > proposal (view attached screenshot). > > Having the option "fix imports on save" is a nigthmare! > > -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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] [Created] (NETBEANS-2914) Fix imports not working properly
Eduard Catala created NETBEANS-2914: --- Summary: Fix imports not working properly Key: NETBEANS-2914 URL: https://issues.apache.org/jira/browse/NETBEANS-2914 Project: NetBeans Issue Type: Bug Components: java - Editor Affects Versions: 11.1 Reporter: Eduard Catala Attachments: Captura de pantalla de 2019-07-29 18-55-06.png Steps to reproduce: Create a simple project (maven) Include a dependency: {{ }} {{ io.reactivex.rxjava2}} {{ rxjava}} {{ 2.2.10}} {{ }} Create a main method: {{public class Main {}} {{ public static void main(String[] args) {}} {{ Single s;}} {{ }}} {{}}} Fix imports (works) Fix imports: The fix imports dialog is shown with incorrect import proposal (view attached screenshot). Having the option "fix imports on save" is a nigthmare! -- This message was sent by Atlassian JIRA (v7.6.14#76016) - 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