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.
I have found two distinct auto-indentation errors in the editor, both occurring with braces {} insertion in nested code blocks. First, when entering the following: class Test { function test() { return true; } function test2() { return true; } } when I type the { after function test2(), that line is indented again, resulting in: class Test { function test() { return true; } function test2() { return true; } } Similarly, with the following: class Test { function test() { return true; } function test2() { return true; } } (note the ABSENCE of a newline before function test2(); the class-function thing is just an example of nested code blocks to demonstrate) when typing the { after function test2() the line indentation is DECREASED, resulting in: class Test { function test() { return true; } function test2() { return true; } } No indentation errors occur, in either case, with function test(), or with class Test. These are probably related. This occurs with the latest version of Netbeans and the PHP plugin (both installed today), on Java 1.6.0_03.
Vito please evaluate if this issue is still valid in the current implementation
This is working fine in current dev builds.