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 108515 - Implement comment/uncomment action for HTML and JSP editors
Summary: Implement comment/uncomment action for HTML and JSP editors
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 72288 135403 143870 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-29 12:35 UTC by Ondrej Langr
Modified: 2009-05-18 10:47 UTC (History)
3 users (show)

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 Ondrej Langr 2007-06-29 12:35:57 UTC
The Ctrl + / shortcut in HTML editor should comment selection (or line). This is to be consistent with Java and other
editors.
Comment 1 Ondrej Langr 2007-07-13 12:53:02 UTC
Please note that the shortcut should work with both slash keys. With the one placed next to the right shift (US
keyboard) as well as with the one above numeric keypad.
Comment 2 Ondrej Langr 2007-07-13 14:54:17 UTC
Please note that the shortcut should work with both slash keys. With the one placed next to the right shift (US
keyboard) as well as with the one above numeric keypad.
Comment 3 Ondrej Langr 2007-10-17 16:21:04 UTC
I may have misunderstood the problem. Is the current situation that there is no comment/uncomment action? If this is the
case, I'd consider this issue an enhancement. If we do have this action and it is assigned a different shortcut, this is
definitely a usability bug because it would be causing the comment action to be undiscoverable.
Comment 4 Marek Fukala 2007-10-18 13:10:28 UTC
There is no comment/uncomment action for html at all, changing back to enhancement based on offline discussion with the
reporter.
Comment 5 Marek Fukala 2007-11-23 12:29:29 UTC
*** Issue 72288 has been marked as a duplicate of this issue. ***
Comment 6 Marek Fukala 2007-11-23 12:31:16 UTC
The toggle comment should work also in all embedded languages - css, javascript, java, possibly others.
Comment 7 radhika2 2007-12-19 22:41:22 UTC
Request for Toggle comment for XML files
see forum thread:
http://www.nabble.com/Toggle-Comment-for-XML-files...-to14406031.html
Comment 8 Jindrich Sedek 2008-01-22 14:33:13 UTC
This enhancement is needed a lot in editor -> increasing priority
Comment 9 Jindrich Sedek 2008-05-20 10:50:55 UTC
*** Issue 135403 has been marked as a duplicate of this issue. ***
Comment 10 Jindrich Sedek 2008-08-15 13:12:05 UTC
*** Issue 143870 has been marked as a duplicate of this issue. ***
Comment 11 Martin Schovanek 2009-03-30 14:07:18 UTC
Lot of duplicates.
Comment 12 Marek Fukala 2009-03-30 14:32:47 UTC
fixed in web-main#c43b2e6524de
Comment 13 Quality Engineering 2009-04-03 07:50:03 UTC
Integrated into 'main-golden', will be available in build *200904030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c43b2e6524de
User: Marek Fukala <mfukala@netbeans.org>
Log: #108515 - fixing missing toggle comment action