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 62862

Summary: [navigator] Possibility to filter comments
Product: xml Reporter: Jiri Kovalsky <jkovalsky>
Component: CodeAssignee: issues@xml <issues>
Status: NEW ---    
Severity: blocker CC: jdinga
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jiri Kovalsky 2005-08-23 14:28:56 UTC
Development build #200508221800 of NetBeans 4.2
Windows XP, JDK 1.5.0_05

Description:
============
It would be super cool if the new XML navigator would be equipped with one more
button "Show Comments" allowing users to filter out comment nodes. The comment
nodes are very useful but sometimes could make way for data elements if needed.
It could be turned off by default = no comment nodes visible.
Comment 1 Marek Fukala 2005-08-24 21:52:05 UTC
Jindro, what do you think about Jirka's idea? I would personally like having
such filter (disabled by default if you really insist on that).
Comment 2 Jindrich Dinga 2005-08-26 12:30:52 UTC
Navigator should help the user to navigate within the code, not just copy the Editor (for XML files it is 
quite hard not to copy the Editor :-( ). In addition to that, there should be some consistency between 
Navigator for Java and XML files - nowadays Navigator for Java files does not show comments, todos, 
etc. and we do not have any plans to do that.

So that is why I am against having "Show comments" button in Navigator.
Comment 3 Jiri Kovalsky 2005-08-26 14:26:46 UTC
Well, your reasoning sounds logical however do we really need consistency at all
cost ? On the other hand I don't feel strongly about it now and see the point of
no navigation value of comments.
Comment 4 Marek Fukala 2007-02-16 14:42:09 UTC
Reassigning to default owner of selected subcomponent. New owners are gladly
welcomed.