views:

75

answers:

3

Visual Studio has the ability to copy arbitrary blocks of text (not across lines) by holding the alt-key...Is there anything similar in Eclipse?

Thxs.

A: 
serhio
A: 

The feature you are looking for is known as Block Selection and is available in Eclipse since 3.5. Here is a blog article detailing it's usage

JaredPar
+2  A: 

Yep - Look for the "Toggle Block Selection" command (Alt+Shift+A). That switches the editor between column mode and line mode.

You can make rectangular selections and even type on several lines at once. Very handy.

Seth
How the heck did you get it to show the keys?
Andres
Neat trick, eh? Use: `<kbd>Ctrl</kbd>`
Seth