Eclipse NEWBIE: Does Eclipe allow macros?

Posted on 2006-07-13
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

Question by:BrianMc1958
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 23

Expert Comment

ID: 17100273
You can define the key bindings in eclipse as


Author Comment

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

LVL 23

Expert Comment

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)
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!

LVL 16

Accepted Solution

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.


Author Comment

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...

Author Comment

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.
LVL 23

Expert Comment

ID: 17130874
glad that my comments were helpful

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Error in @AspectJ Based AOP with Spring 2 24
throw exception 21 69
Why doesn't this text field show up on my Applet frame? 2 28
Java pass by reference 3 25
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This video teaches viewers about errors in exception handling.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

730 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