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.
At the end of the "EXPECTED RESULT:" of "3. Multiline Alignment 2" of "TS 73 Formatting" (http://wiki.netbeans.org/TS_73_Formatting) we read: "When the checkboxes are unchecked the value of continuation indentation is important again." That's no happening. The continuation indentation isn't being respected. It was ok in 7.2 and earlier releases. Every time we edit a source code with an in-line initialized array and format it, the array code is wrong formatted, needing a special attention and extra work when commiting our changed to the VCS. Formatting config: Formatting > Java > Tabs And Indents Continuation Indentation Size: 4 Formatting > Java > Alignment > Multiline Alignment: all unchecked Expected: beanTable.bind(presentation, new String[]{ EstadoDTO.PROPERTY_NOME, EstadoDTO.PROPERTY_SIGLA, EstadoDTO.PROPERTY_CODIGOIBGE }, null); Got: beanTable.bind(presentation, new String[]{ EstadoDTO.PROPERTY_NOME, EstadoDTO.PROPERTY_SIGLA, EstadoDTO.PROPERTY_CODIGOIBGE }, null); We've noticed this only with array initialization. Ex.: it's ok with methods parameters: private void myMethod( String myFirstParam, int mySecondParam) { } (The Continuation Indentation Size of 4 is being respected). Product Version: NetBeans IDE 7.3 (Build 201302132200) Java: 1.6.0_38; Java HotSpot(TM) 64-Bit Server VM 20.13-b02 Runtime: Java(TM) SE Runtime Environment 1.6.0_38-b05 System: Linux version 3.7.10-gentoo running on amd64; UTF-8; en_US (nb) User directory: /home/scherrer/.netbeans/7.3 Cache directory: /home/scherrer/.cache/netbeans/7.3
Current behavior is as designed - upon many requests, formatting of: test(new String[] { "1", "2" }); has been changed in order to be consistent with: test(new Runnable() { public void run() { } });