[ 
https://issues.apache.org/jira/browse/NETBEANS-6439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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: [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

Reply via email to