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.
1. 'Tools | Options | Advanced Options | Options | Editing | Indentation Engines | Java Indentation Engine' property panel has the following options, which are also available in 'Tools | Options': Expand tabs to spaces (also available in 'Tools | Options | Editor | Indentation' ) Add newline before brace (also available in 'Tools | Options | Java Code | Alignment and Braces' category) Add space before parentheses (also available in 'Tools | Options | Java Code | Spaces' category) Statement Continuation Indent (also available in 'Tools | Options | Java Code | Indents' category) Number of spaces per indent (also available in 'Tools | Options | Editor | Indentation' ) Perhaps they should be removed from advanced options. (It is not clear what the behaviour will be if the settings in both options and advanced options are modified by the user...) 2. 'Tools | Options | Advanced Options | Options | Editing | Indentation Engines | Java Indentation Engine' has a property 'Add Leading star in comment' that does not seem to be available in basic options dialog. This option should be kept in advanced options and respected (so as not to have a regression) or moved to basic options. Discussed at http://www.netbeans.org/servlets/BrowseList?list=nbusers&by=thread&from=817834
I do not have the Java Indentation Engine in the Advanced Options (only through Editor/Java/Indent Engine, which is a bit cumbersome), but I do not do import from 5.5, which may be the difference. I think that (ideally) the JIE should be removed altogether. The most important problem described here, IMO, is the "Add Leading star in comment". Not for NB6.0, IMO.
I did not import settings too. In fact I see JIE in advanced options when I run NB6-beta2 after deleting my userdir: Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: SunOS version 5.10 running on sparc; ISO646-US; en (nb) Perhaps JIE has been removed in a later build. If so, this bug can be marked as fixed. There is still the problem with 'Leading * in comment' ; the issue was raised in http://www.netbeans.org/servlets/ReadMsg?list=nbusers&msgNo=102355. I think this bug should be kept open until it is resolved. (Or please inform if a separate issue should be filed for leading-star issue so that this bug can be closed).
Even worse is that the duplicated options to not appear to be in sync. For example, setting Add New Line Before Brace in the Java Indentation Engine has no effect if the Braces Placement option does not also indicate "New Line".
*** Issue 127024 has been marked as a duplicate of this issue. ***
Java Indentation Engine and its obsolete options are still accessible via Advanced Options -> Editing -> Editor Settings -> DTD Editor -> Indentation Engine -> [...] -> Java Indentation Engine. Vita, is it possible to remove the Java Indentation Engine form Tools-> Options at all?
I'll have a look.
http://hg.netbeans.org/main/rev/0f36545778ed
v