my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse: select text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse: select text" Watch "Eclipse: select text" New topic
Author

Eclipse: select text

Jim Petersson
Ranch Hand

Joined: May 28, 2008
Posts: 48
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


SCJP 5<br />SCJD
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30383
    
150

Jim,
I don't think I follow - you want to delete the word "private" ?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
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


Mourougan
Open Source leads to Open Mind
Jim Petersson
Ranch Hand

Joined: May 28, 2008
Posts: 48
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

Joined: Oct 13, 2005
Posts: 38509
    
  23
Do you mean ctrl-F?
Jim Petersson
Ranch Hand

Joined: May 28, 2008
Posts: 48
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

Joined: Oct 29, 2008
Posts: 396
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse: select text