Reputation: 22011
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.
Upvotes: 3
Views: 350
Reputation: 28586
For Eclipse 3.5 M5 and above, the block selection mode can be toggled using the toolbar icon highlighted bellow
(source: vasanth.in)
or using the shortcut key Alt+Shift+A.
Upvotes: 0
Reputation: 46463
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.
Upvotes: 2
Reputation: 755457
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
Upvotes: 0