This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When I press enter at the begining of an indented line, that is after the 4 spaces but before the code itself, for example: |System.out.println( "Hello World" ) ^ then the IDE will insert a new line but also keep the indentation. However, If the code begins will two backward slashes, //, then the IDE doesn't keep the indentation. { |//this is a single lined coment } becomes: { //this is a single lined coment } when it should be: { //this is a single lined coment }
It has been fixed in version 6.0.