• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse: select text

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jim,
I don't think I follow - you want to delete the word "private" ?
 
Ranch Hand
Posts: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean ctrl-F?
 
Jim Petersson
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 398
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic