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 23310 - Completion in XML tree editor
Summary: Completion in XML tree editor
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Tree-Edit (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker with 1 vote (vote)
Assignee: Rich Unger
URL:
Keywords: ARCH
Depends on:
Blocks: 14206
  Show dependency tree
 
Reported: 2002-05-09 23:31 UTC by Rich Unger
Modified: 2007-09-25 06:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Unger 2002-05-09 23:31:18 UTC
Right now the NewTypes mechanism has a static set of new 
things that can be added underneath an element (from an 
ElementNode's context menu):

element, CDATA block, comment, etc.

If there is a DTD available, the editor should instead 
look up which items are valid beneath the element.

Also, just having an "element" selection there is too 
broad, and allows the user to easily create elements not 
allowed by the DTD.  Instead of having 'TreeElement.class' 
in the NewTypes list, it should be some construct which 
allows you to say what _kind_ of element it is.
Comment 1 _ pkuzel 2002-06-03 12:27:53 UTC
Let these are considered while planning next release.
Comment 2 Marek Grummich 2002-07-19 16:59:13 UTC
Target milestone was changed from not determined to TBD
Comment 3 _ pkuzel 2002-08-13 21:24:34 UTC
ARCHing as issue may influence internal architecture.
Comment 4 Rich Unger 2003-02-06 02:04:13 UTC
Checked into trunk on Nov. 28, 2002

NewTypes mechanism now uses the Grammar mechanism that's also used in
the xml text editor for syntax completion.
Comment 5 _ pkuzel 2003-02-06 10:38:24 UTC
This functionality is targeted to  be a part of NetBeans 3.5 standard release.
At this moment it is necessary to stabilize it fully, pass I18N checks, pass
A11Y checks, pass UI checks and properly document it.