[jira] [Commented] (NETBEANS-6439) Java code formatting doesn't work as expected anymore

2022-02-13 Thread Roberto Cisternino (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17491522#comment-17491522
 ] 

Roberto Cisternino commented on NETBEANS-6439:
--

Yes thanks,
I did it but unfortunately my web applications recompiled using JDK 1.8 
on Netbeans 12.6 (runned with JDK 11) didn't worked anymore... the build 
or the clean cannot complete because the dist cannot be deleted...




-- 
Questa email è stata esaminata alla ricerca di virus da AVG.
http://www.avg.com


> Java code formatting doesn't work as expected anymore
> -
>
> Key: NETBEANS-6439
> URL: https://issues.apache.org/jira/browse/NETBEANS-6439
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
>Reporter: Roberto Cisternino
>Priority: Major
>
> By editing a java class the alignment while coding the body of a method do 
> not work anymore as expected.
> For instance, if I write the following code and I want to fill up the body of 
> the method I usually put the cursor after the { curly bracket and I press 
> Enter, then the IDE should create a new row and put the cursor inside the 
> body using the right indentation.  This behaviour has been lost into this 
> Netbeans release...  the cursor is placed at the beginning of the row without 
> indentation
>     public void test() {    // PRESS ENTER HERE TO TEST
> *
>     }
> Another unexpected behavious is that starting on an empty row (at col 0) it 
> is not possible to write a Tab character for forcing the indentation.  This 
> worked before.
> Another issue is also available when adding the method comment using the 
> comment completion that it is usually triggered by the /** characters written 
> on top of the method... again here the behaviour has changed... the comment 
> is created without indentation and even its internal formatting doesn't work 
> anymore (e.g. a new line inside the comment should be created with a '*' char 
> in the beginning and the right indentation.
>  
> I think you need to make a regression, too many features of the IDE has been 
> lost...



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Commented] (NETBEANS-6439) Java code formatting doesn't work as expected anymore

2022-02-03 Thread Neil C Smith (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17486390#comment-17486390
 ] 

Neil C Smith commented on NETBEANS-6439:


I would suggest always using Tools / Java Platforms anyway, and setting up the 
JDK you need for specific projects.  That way you're independent of the JDK you 
run the IDE on.  I would also run the IDE on JDK 17 if you can.

> Java code formatting doesn't work as expected anymore
> -
>
> Key: NETBEANS-6439
> URL: https://issues.apache.org/jira/browse/NETBEANS-6439
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
>Reporter: Roberto Cisternino
>Priority: Major
>
> By editing a java class the alignment while coding the body of a method do 
> not work anymore as expected.
> For instance, if I write the following code and I want to fill up the body of 
> the method I usually put the cursor after the { curly bracket and I press 
> Enter, then the IDE should create a new row and put the cursor inside the 
> body using the right indentation.  This behaviour has been lost into this 
> Netbeans release...  the cursor is placed at the beginning of the row without 
> indentation
>     public void test() {    // PRESS ENTER HERE TO TEST
> *
>     }
> Another unexpected behavious is that starting on an empty row (at col 0) it 
> is not possible to write a Tab character for forcing the indentation.  This 
> worked before.
> Another issue is also available when adding the method comment using the 
> comment completion that it is usually triggered by the /** characters written 
> on top of the method... again here the behaviour has changed... the comment 
> is created without indentation and even its internal formatting doesn't work 
> anymore (e.g. a new line inside the comment should be created with a '*' char 
> in the beginning and the right indentation.
>  
> I think you need to make a regression, too many features of the IDE has been 
> lost...



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Commented] (NETBEANS-6439) Java code formatting doesn't work as expected anymore

2022-02-02 Thread Roberto Cisternino (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17486259#comment-17486259
 ] 

Roberto Cisternino commented on NETBEANS-6439:
--

Yes... I have to still develop using JDK 8... so you tell me that I need 
to run the IDE using JDK 11, right ?

I see now... sorry for disturb you.

Thanks
Roberto




-- 
Questa email è stata esaminata alla ricerca di virus da AVG.
http://www.avg.com


> Java code formatting doesn't work as expected anymore
> -
>
> Key: NETBEANS-6439
> URL: https://issues.apache.org/jira/browse/NETBEANS-6439
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
>Reporter: Roberto Cisternino
>Priority: Major
>
> By editing a java class the alignment while coding the body of a method do 
> not work anymore as expected.
> For instance, if I write the following code and I want to fill up the body of 
> the method I usually put the cursor after the { curly bracket and I press 
> Enter, then the IDE should create a new row and put the cursor inside the 
> body using the right indentation.  This behaviour has been lost into this 
> Netbeans release...  the cursor is placed at the beginning of the row without 
> indentation
>     public void test() {    // PRESS ENTER HERE TO TEST
> *
>     }
> Another unexpected behavious is that starting on an empty row (at col 0) it 
> is not possible to write a Tab character for forcing the indentation.  This 
> worked before.
> Another issue is also available when adding the method comment using the 
> comment completion that it is usually triggered by the /** characters written 
> on top of the method... again here the behaviour has changed... the comment 
> is created without indentation and even its internal formatting doesn't work 
> anymore (e.g. a new line inside the comment should be created with a '*' char 
> in the beginning and the right indentation.
>  
> I think you need to make a regression, too many features of the IDE has been 
> lost...



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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] [Commented] (NETBEANS-6439) Java code formatting doesn't work as expected anymore

2022-02-02 Thread Neil C Smith (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17485935#comment-17485935
 ] 

Neil C Smith commented on NETBEANS-6439:


Sounds like you're running on JDK 8? This is not supported.

> Java code formatting doesn't work as expected anymore
> -
>
> Key: NETBEANS-6439
> URL: https://issues.apache.org/jira/browse/NETBEANS-6439
> Project: NetBeans
>  Issue Type: Bug
>  Components: cnd - Editor
>Affects Versions: 12.6
>Reporter: Roberto Cisternino
>Priority: Major
>
> By editing a java class the alignment while coding the body of a method do 
> not work anymore as expected.
> For instance, if I write the following code and I want to fill up the body of 
> the method I usually put the cursor after the { curly bracket and I press 
> Enter, then the IDE should create a new row and put the cursor inside the 
> body using the right indentation.  This behaviour has been lost into this 
> Netbeans release...  the cursor is placed at the beginning of the row without 
> indentation
>     public void test() {    // PRESS ENTER HERE TO TEST
> *
>     }
> Another unexpected behavious is that starting on an empty row (at col 0) it 
> is not possible to write a Tab character for forcing the indentation.  This 
> worked before.
> Another issue is also available when adding the method comment using the 
> comment completion that it is usually triggered by the /** characters written 
> on top of the method... again here the behaviour has changed... the comment 
> is created without indentation and even its internal formatting doesn't work 
> anymore (e.g. a new line inside the comment should be created with a '*' char 
> in the beginning and the right indentation.
>  
> I think you need to make a regression, too many features of the IDE has been 
> lost...



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

-
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