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 - Impossible to remove Editor Settings options
Summary: Impossible to remove Editor Settings options
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on: 90403
Blocks: 127664
  Show dependency tree
 
Reported: 2008-05-12 15:40 UTC by _ gordonp
Modified: 2009-11-17 08:50 UTC (History)
4 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.