Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable the column selection mode in Eclipse?

News wrote that Eclipse 3.5 finally supports column selection. Unfortunately I don't know HOW to enable it. I tried pressing the ALT-key like I am used to in Visual Studio and all other Microsoft products but that had no effect.

How can I mark a vertical block in Eclipse?

like image 603
vobject Avatar asked Jun 27 '09 21:06

vobject


People also ask

How do I select a block of text 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 in Eclipse?

In Eclipse (I'm using Eclipse June 4.2. 2 at the moment), it is possible to select columns/vertical blocks of text by using Alt+Shift+A to switch to block selection mode. You can then drag over a column/block of text. With a block selected, typing text will replace the selected text in all of the selected rows.

How do I show column numbers in Eclipse?

In Eclipse IDE, select “Windows” > “Preference” > “General” > “Editors” > “Text Editors” , check on the “Show line numbers” option.


1 Answers

To activate the cursor and select the columns you want to select use:

Windows: Alt+Shift+A

Mac: command + option + A

Linux-based OS: Alt+Shift+A

To deactivate, press the keys again.

This information was taken from DJ's Java Blog.

like image 140
RichieHindle Avatar answered Sep 25 '22 19:09

RichieHindle