Solved

Eclipse NEWBIE: Does Eclipe allow macros?

Posted on 2006-07-13
7
1,265 Views
Last Modified: 2006-11-18
Dear Experts,

I'm fairly new to Eclipse.  Does it allow macros?  

In particular, once I've highlighted a variable name, I'd like to press one key sequence and do this:

Go to top of file
Find next of that name


Thanks!
BrianMc1958
0
Comment
Question by:BrianMc1958
  • 3
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 17100273
You can define the key bindings in eclipse as

Windows->Preferences->General->Keys
0
 

Author Comment

by:BrianMc1958
ID: 17100341
Thanks, but can I do a several-step process, like:

Select the highlighted word
Open the Find window
Go to top of file
Find next

?
0
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 17100457
ya you can do that too. When you select a word, it would be picked up by search dialog. It starts searching from that cursor position onwards, this can be controlled by checking to find foward/backword and wrapping the search.

Ctrl+k/Ctrl+Shift+K searches next and previous keyward (as default setting of eclipse)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 16

Accepted Solution

by:
suprapto45 earned 125 total points
ID: 17105154
As far as I know,

You can't do that and I am interested to see it if anyone has some idea on how to do it.

David
0
 

Author Comment

by:BrianMc1958
ID: 17107760
I've done other research, and it's looking like this is one place where Eclipse falls down.  It doesn't seem to have a macro capability per se.  I'll leave the question open another day to see if I'm missing something...
0
 

Author Comment

by:BrianMc1958
ID: 17130636
To Ajay-Singh:  Thank you for your responses.  In this case, though, I'm obliged to accept suprapto45's comment.  Your answers were helpful, but I'm specifically asking about record-macro capabilities here, which seem to be absent altogether in Eclipse.
0
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 17130874
glad that my comments were helpful
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now