Hi all,

As you may know we're polishing a subset of the cnd donation (with an editor with lexer, folding, formatting, the C/C++ makefile projects and the toolchain (as well as dlight).

The fact is that both cpplite and cnd clash in the "commit-validation" test when both of them want to create the "Options/C++" dialog pane (see https://issues.apache.org/jira/browse/NETBEANS-6372).

It seems we could handle this in different ways:

Option 1:

Use a "weight" attribute in layer.xml registration [1], so both "cpplite.editor" and "cnd.editor" can register the "C/C++" pane, but only one "wins" depending on the weight. Sadly this attribute is not currently supported in the OptionsDialog (nor in commit-validation test?), and adding it just for this corner case seems too much, I think.

Option 2:

Make "cpplite.editor" depend on "cnd.editor". This will make the cpplite cluster depend on the cnd cluster (currently only cpplite is in the "release" set).

Option 3:

Make "cnd.editor" depend on "cpplite.editor". This will make the cnd cluster depend on the cpplite cluster.


So, what say? Any preferences? Any alternatives?

Thanks,
Antonio

P.S.: Option 2 is available at
https://github.com/apache/netbeans/pull/3428


[1]
https://bz.apache.org/netbeans/show_bug.cgi?id=141925

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to