Does anyone know if block selection (or rectangular selection) is possible in eclipse?
Maybe there's a plugin? I haven't been able to find one myself yet...
Asked
Active
Viewed 6.2k times
58

Maurits de Boer
- 1,907
- 4
- 23
- 30
-
See http://stackoverflow.com/questions/1838432/eclipse-can-you-put-your-cursor-on-all-lines/1838557#1838557 – VonC Dec 16 '09 at 14:49
-
possible duplicate of [How do I enable the column selection mode in Eclipse?](http://stackoverflow.com/questions/1053725/how-do-i-enable-the-column-selection-mode-in-eclipse) – Rune FS Aug 01 '14 at 14:07
5 Answers
83
Block selection is available since Eclipse 3.5.
You can toggle between standard and block selection using:
Alt + Shift + A
Opt + Cmd + A (on Mac)
or press Ctrl+3 (Cmd+3 on Mac), type "toggle block" and select Toggle Block Selection command.

sagivd
- 120
- 2
- 11

Peter Štibraný
- 32,463
- 16
- 90
- 116
15
Column mode is in Eclipse 3.5. The linked site also contains a patch for 3.4.0 (only).

Community
- 1
- 1
-
Also discussed here:https://stackoverflow.com/questions/1053725/how-do-i-enable-the-column-selection-mode-in-eclipse – SydMK Mar 15 '19 at 05:26
-
Wish they will add a way to auto enable block selection with Alt + Selection like other modern code editors. – thdoan Aug 03 '20 at 23:24
9
Use Ctrl+3
and write "block" in popup.
You can also use shortcut Alt+Shift+A
. You can always see list of shortcuts with Ctrl+Shift+L
. Block selection shortcut is on the bottom of this list.

Marcin Szymczak
- 11,199
- 5
- 55
- 63
1
- Press Alt + Shift + A
- Observe that the screen zooms out
- Make selection using the mouse
- Press Alt + Shift + A to go back to the old mode.

S Krishna
- 1,255
- 13
- 9