问题
Which tool would you recommend for macro recording and replaying ? Is there a language as well ? I frequently switch between Eclipse and Emacs(actually Xemacs) for editing tasks.
It would be nice if I didn't have to do as frequently. That would happen if a macro language/recorder were available in eclipse. It's available in Netbeans, so how come that is not a priority for eclipse ?
回答1:
There is no current macro language on Eclipse:
- Practical Macro
is not compatible with current 3.5 or 3.6 Eclipse)(update 2014: it has been updated since 2010). - The official proposal Eclipse Monkey has been withdrawn.
- And the bug 8519 records the absence of keystroke macro since 2002! (130 votes too), even though there have been some experiment.
So your best bet is right now:
- Autohotkey on Windows
- AutoKey on unix
, which are completely separated from Eclipse, but can at least record and send key events to any application.
来源:https://stackoverflow.com/questions/3623214/how-can-i-record-and-replay-macros-in-eclipse-3-5