2

Having used Netbeans for ages and being new to Eclipse I couldn't see any built-in Macro functionality in Eclipse. I found the Practically Macro plug-in but this does not seem to have the capability to add keyboard shorcuts. One needs to go through two menus and therefore two mouse clicks to run a macro using the aforementioned plugin.

This does not serve well for my need of frequent macro applications. Is there anyway to have very simple Macros using keyboard shortcuts in Eclipse? Or should I start writing my own Eclipse plugin for this? Or perhaps use another light weight tool for this purpose? Do you have any suggestions?

aligf
  • 2,020
  • 4
  • 19
  • 33

3 Answers3

3

There doesn't seem to be anything else than Practically Macro for Eclipse. Once you use a Macro, you can press Ctrl-Alt-P to replay that. This helps a bit, but when you want to switch between a couple of macros back and forth doesn't help much.

aligf
  • 2,020
  • 4
  • 19
  • 33
  • 3
    I don't know if this is new or not, but I was able to add a new macro using Practically Macro, and that macro name I assigned was then visible in the normal Eclipse key binding dialog and I was able to bind a custom key to each macro I created. I did notice I had to assign an "ID" to the macro when I created it, otherwise it would not show up in the key bindings dialog. – Jeremy Mullin Nov 17 '11 at 23:14
  • 1
    @JeremyMullin - That's a great piece of information, and works like a charm. – g.d.d.c Jun 06 '12 at 16:33
1

Not sure about this Macro plug-in you're using, but you can modify keyboard shortcuts (Helios) in Preferences->General->Keys.

John Giotta
  • 16,432
  • 7
  • 52
  • 82
  • Thanks. This uncovered a few shortcuts that this plug-in has added to Eclipse. "Play last macro" that can be useful but that's all that there is. – aligf Dec 09 '10 at 18:21
0

Testing PracticallyMacro I found that it did not record right clicks but I was able to find a perfect utility 'TinyTask' and 'TyperTask'. The former can export record and save as small 'exe' files which can then be added as external Eclipse builders the latter can automate tasks based on typed characters - epic.

TinyTask as Macros for Eclipse

Daniel Sokolowski
  • 11,982
  • 4
  • 69
  • 55