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 115740 - XML comments no longer work
Summary: XML comments no longer work
Status: VERIFIED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords:
: 107849 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-17 19:05 UTC by jcampbell
Modified: 2008-07-03 19:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jcampbell 2007-09-17 19:05:12 UTC
Found in NetBeans 6.0 Beta 1.

Key bindings "XML Comment" and "XML uncomment" no longer work.  This worked in Netbeans 6.0 M10, but no longer works
with Netbeans 6.0 Beta 1.

Steps to reproduce:
1. From the Menu bar to go Tools>Options
2. Click on Keymap
3. From the Actions Tree click on Other>XML Comment
4. Click on the Add... button and add a short-cut (I used Alt+Shift+T) then click on OK from the "Add Shortcut Dialog"
5. Click on OK to close the "Options" dialog
6. Open an XML document.
7. Click on a line that contains XML code
8. Press the assigned shortcut key (I used Alt+Shift+T)

Results: Nothing happens (no XML Comments are created)

Expected Results: <!-- -->  is added around the items on the line I'm currently on.

Suggestion:  1. Fix the bug (obvious) 2. Map the same key in Java (Ctrl+/) to do the same thing in XML documents (so
that there are NOT 2 different key bindings for "commenting" things out.
Comment 1 Sonali Kochar 2007-10-11 23:09:34 UTC
*** Issue 107849 has been marked as a duplicate of this issue. ***
Comment 2 Sonali Kochar 2008-07-03 17:07:19 UTC
It seems to be working in 6.1 Please re-open if required
Comment 3 jcampbell 2008-07-03 19:35:50 UTC
It does appear that it is now fixed in Release of 6.1