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?
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.
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.
In Eclipse IDE, select “Windows” > “Preference” > “General” > “Editors” > “Text Editors” , check on the “Show line numbers” option.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With