Solved

Eclipse NEWBIE: Does Eclipe allow macros?

Posted on 2006-07-13
7
1,266 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JList custom Cell Renderer refresh 15 56
object oriented programming comparison 5 69
table example 4 29
hibernate example issues from command prompt 10 40
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

786 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