2

In IDEA you had the possibility to put your cursor on all lines.

Is this possible in Eclipse?

cc.
  • 5,533
  • 14
  • 37
  • 46
  • I'm not sure exactly what you meant. Is it something like block editing? – DJ. Dec 03 '09 at 08:35
  • Let's say I found a piece of code on the net, but the code has the line numbers on every line of the text. In IDEA, you could delete those lines from 2-3 presses of del button, by putting the cursor on column mode (this is name I think) – cc. Dec 03 '09 at 09:29

2 Answers2

5

Eclipse 3.5 should have a column mode (which is what I think you're asking about) - use Alt+Shift+A:

I haven't tried this since I'm stuck at version 3.4.1 for the time being. There's a patch that claims to work for 3.4.0 (http://tkilla.ch/column_mode/), but it's not working for my 3.4.1 install.

Michael Burr
  • 333,147
  • 50
  • 533
  • 760
0

If you refer to the ability to select a group of lines (like a all function), you can use the outline view

alt text http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/topic/org.eclipse.jdt.doc.user/whatsNew/images/drag-and-drop-outline.png

From there, you can move/rearrange/delete all block of text.


If it is about column mode, see my answer here.

alt text http://update.eclipse.org/downloads/drops/R-3.5-200906111540/images/block-selection-mode.png

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250