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 119638 - enable "Toggle Comment" in XML editors?
Summary: enable "Toggle Comment" in XML editors?
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker with 1 vote (vote)
Assignee: Samaresh Panda
URL:
Keywords:
: 120561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-22 12:50 UTC by kawazu428
Modified: 2013-02-04 23:42 UTC (History)
1 user (show)

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 kawazu428 2007-10-22 12:50:51 UTC
Using the Java editor, one quickly gets used to the "Source"->"Toggle Comment" feature in order to (un)comment blocks of
Java source code. In XML, same a feature would come in handy in order to (un)comment code blocks, as well, be that by
wrapping each line selected in <!-- --> tags or by completely (un)commenting the block as a whole.

Would something like that be possible?
TIA and best,
Kristian
Comment 1 Samaresh Panda 2008-08-18 23:40:35 UTC
*** Issue 120561 has been marked as a duplicate of this issue. ***
Comment 2 Jindrich Sedek 2009-03-29 16:27:30 UTC
marking as P1 since this functionality already exists in other tag based languages as HTML and it should be easy to 
migrate it into XML as well
Comment 3 markiewb 2013-02-04 23:42:12 UTC
Works for me at least in 7.2.1/7.3dev