Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I enable the Box (or Block) Selection in Eclipse IDE?

I have been using Visual Studio IDE and I use Box Selection a lot.
Is the same possible for Eclipse IDE?

like image 502
naveen Avatar asked Jan 08 '11 05:01

naveen


People also ask

How do I block a selection in Eclipse?

Block selection is available since Eclipse 3.5. or press Ctrl + 3 ( Cmd + 3 on Mac), type "toggle block" and select Toggle Block Selection command.

How do I select a line in Eclipse?

Solution for Eclipse:Hold Alt and press ↑ and ↓ . Alt + ↑ and ↓ will move an entire line up or down, so just move it back and you end up with the entire line selected.

How do I edit columns in Eclipse?

You can enable and disable column editing mode via the keyboard shortcut ALT-SHIFT-A . Once enabled you can then use either the mouse to select a block of text, or the keyboard using SHIFT (like a normal keyboard select, except the selection will now be in a block).


1 Answers

Since Eclipse 3.5 there is a button called Block selection mode in the main toolbar or you could use its hotkey as well:

  • Windows: Alt+Shift+A
  • Mac: Command+Option+A

See a blog entry about block selection for more details.

like image 162
Zoltán Ujhelyi Avatar answered Oct 23 '22 06:10

Zoltán Ujhelyi