Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse: select text

 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Let's say I have the following text in a file in Eclipse:

private int a;
private int b;
private int c;

Is it possible to select/mark just the 'private' part of that text. (for instance if I would like to delete/copy all of them quickly)

Regards, Jim
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim,
I don't think I follow - you want to delete the word "private" ?
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope Jim is looking for option to column select (something available in editplus editor) kind of stuff.... unfortunately no development tools/editor provide this facilities as per my knowledge....

Mourougan
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mourouganandame Arunachalam:
Hope Jim is looking for option to column select (something available in editplus editor) kind of stuff.... unfortunately no development tools/editor provide this facilities as per my knowledge....

Mourougan


Yes that's what I'm looking for. I was sure I has used that in Eclipse before, but maybe I remember incorrectly and confused it with editplus/visual studio.
It's a really nice feature, I'm surprised that it doesn't exist in Eclipse
 
Campbell Ritchie
Sheriff
Pie
Posts: 49405
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean ctrl-F?
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Campbell Ritchie:
Do you mean ctrl-F?


No, what I'm looking for is the same as ALT-C in Editplus for instance.
Found this plugin: http://tkilla.ch/column_mode

But I couldn't get it to work

[ November 17, 2008: Message edited by: Jim Petersson ]
[ November 17, 2008: Message edited by: Jim Petersson ]
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jim,

Go through this url Column for Eclipse.

You will get a jar (columns4eclipse_1.3.4.jar) and place it under "plugins" folder and restart eclipse.

After this Alt + C should enable a menu for you to do column related functionality.

The plug-in you mentioned is not working since it is not enabling two more options as mentioned in the site.

Hope this helps...

Mourougan
[ November 18, 2008: Message edited by: Mourouganandame Arunachalam ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic