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 209531 - Enable Alt+Drag for rectangular selection
Summary: Enable Alt+Drag for rectangular selection
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1.1
Hardware: PC Windows XP
: P3 normal with 9 votes (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2012-03-13 15:49 UTC by kAlvaro
Modified: 2016-11-30 20:59 UTC (History)
2 users (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description kAlvaro 2012-03-13 15:49:39 UTC
The usual way to make rectangular selections in almost all programs that support is to start dragging with the mouse while "Alt" is pressed. Apart from being a long standing standard, this has the additional benefit that there doesn't need to be a sticky "rectangular selection" mode nor a toolbar button.
Comment 1 almson 2012-12-01 11:36:12 UTC
I second this! It is a no-brainer. Visual Studio and Notepad++ work this way. They also have a shortcut Alt + Shift + Arrow-key (although I've never used it).
Comment 2 Martin Balin 2016-07-07 07:31:01 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 3 kAlvaro 2016-07-10 14:54:30 UTC
I cannot find any configurable short-cut in keymap configuration and Alt+Drag doesn't do anything by default so I presume this feature request is not implemented yet. I tried latest development build available today (netbeans-trunk-nightly-201607100002-php-windows-x64.exe).
Comment 4 Excludos 2016-10-21 13:04:14 UTC
Thirding this. Considering the amount I'm using alt-drag at the moment, the annoyance of not having it in Netbeans (which is otherwise an excellent IDE) is enough to make me not use it. The newly added "rectangle select" is not a reasonable substitute.
Comment 5 kodos84 2016-11-30 20:59:47 UTC
I fourth this. A lot of IDEs and code editors are doing this nowadays (notepad++, sublime text, visual studio, etc.) so it is a pretty widely-accepted UI feature and something that I would expect Netbeans to add.