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.

Bug 134866

Summary: Impossible to remove Editor Settings options
Product: cnd Reporter: _ gordonp <gordonp>
Component: EditorAssignee: issues@cnd <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: apepin, issues, sergius, thp
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 90403    
Bug Blocks: 127664    

Description _ gordonp 2008-05-12 15:40:36 UTC
We've tried removing our remaining Advanced Options Editor Settings nodes but
cannot do so without breaking the associated formatter and indenter.

Specifically, we redid the C and C++ property sheets so they no longer contain
any properties (we've provided a UI in the Tools->Options[C/C+] panel). When
we tried to remove and/or hide these empty nodes ("C Editor" and "C++ Editor"),
formatting and indentation both broke.

We cannot eliminate our remaining Advanced Options until some NetBeans allows
the nodes to be removed without breaking the associated feature.
Comment 1 Peter Pis 2008-05-14 17:05:13 UTC
Reassigning to "editor" for evaluation.
Comment 2 Vitezslav Stejskal 2008-05-19 09:23:40 UTC
How is your indentation/formatting implemented? In general after issue #90403 is fixed it will be possible (and
preferable) to remove subclasses of BaseOptions and Settings.Initializer from modules. The default setting values
supplied from Settings.Initializer will be moved to an XML file under the 'Preferences' folder for your mime type.

The indentation settings specifically are in a big mess, because over the time we have introduced so many concepts that
nobody really knows how it all works (ie. IndentEngine, Formatter, editor.indent API). I'm planning to clean this up as
a next step after #90403.
Comment 3 Jan Becicka 2008-06-18 14:01:17 UTC
This is not bug, but task.
Comment 4 Vitezslav Stejskal 2008-06-24 19:09:29 UTC
The issue #90403 has been fixed, please try again and if there are specific problems ask on dev@editor.netbeans.org or
describe them here.
Comment 5 Alexey Vladykin 2009-11-17 08:50:13 UTC
I believe this is fixed. I haven't found any trace of BaseOptions or Settings.Initializer usage in CND.