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 104458 - Comment line action should move to head of next line
Summary: Comment line action should move to head of next line
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-22 00:29 UTC by _ tboudreau
Modified: 2013-09-02 14:19 UTC (History)
3 users (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 _ tboudreau 2007-05-22 00:29:07 UTC
See entry 84 here: 
http://www.javalobby.org/forums/thread.jspa?messageID=92147247&#92147247

Apparently IDEA does it this way.  Sounds like a good idea to me;  I know some
work is being done on this action anyway for 6.0.
Comment 1 voidmain 2008-12-31 14:27:51 UTC
This is definitely a usability thing. IDEA allows you to repeatedly hit cmd-/ and comment out multiple lines. This is
much simpler than first selecting all the lines and then hitting the shortcut. 

Also, consider the cases where you want to comment a few lines, then leave a few and then comment a few. In IDEA this
just go to the starting line and hit cmd-/ until you reach the first line to leave, hit the arrow key until you reach
the next line to comment, then hit cmd-/ again.