Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1281
  • Last Modified:

Eclipse NEWBIE: Does Eclipe allow macros?

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
BrianMc1958
Asked:
BrianMc1958
  • 3
  • 3
1 Solution
 
Ajay-SinghCommented:
You can define the key bindings in eclipse as

Windows->Preferences->General->Keys
0
 
BrianMc1958Author Commented:
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
 
Ajay-SinghCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
suprapto45Commented:
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
 
BrianMc1958Author Commented:
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
 
BrianMc1958Author Commented:
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
 
Ajay-SinghCommented:
glad that my comments were helpful
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now