Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » assigning a shortcut to a template(How to assign shortcut to a template)
assigning a shortcut to a template [message #1061495] Sat, 01 June 2013 05:14 Go to next message
kevin Mising name is currently offline kevin Mising nameFriend
Messages: 10
Registered: March 2010
Junior Member
Hello,
I want to add a shortcut in eclipse so that every time
I will press this shortcut, the text "#include" will appear.

I added a template of #include, so when I type "in" and then ctrl-space
it gives me some suggestions, and "#include" is among them. However,
this is not enough- I prefer to define some shortcut for it.

In the past I did record a macro with "Practical Macro"

But according to:
http://www.questionhub.com/StackOverflow/3623214


"Practical Macro is not compatible with current 3.5 or 3.6 Eclipse)."

And it also says:
"There is no current macro language on Eclipse:"

Any ideas?

Regards,
Kevin

Re: assigning a shortcut to a template [message #1061505 is a reply to message #1061495] Sat, 01 June 2013 10:08 Go to previous messageGo to next message
Nobody Mising name is currently offline Nobody Mising nameFriend
Messages: 75
Registered: July 2010
Member
kevin Mising name wrote on Sat, 01 June 2013 01:14
"Practical Macro is not compatible with current 3.5 or 3.6 Eclipse)."

It seems to work fine if you just download jar and put it inside plugins directory.
Re: assigning a shortcut to a template [message #1061507 is a reply to message #1061505] Sat, 01 June 2013 12:10 Go to previous messageGo to next message
kevin Mising name is currently offline kevin Mising nameFriend
Messages: 10
Registered: March 2010
Junior Member
Hello,
Thanks for your prompt response!
Indeed putting the jar of Practical Macro under plugins and restarting eclipse is OK.
I did record a macro and I can play it from the GUI.
Probably the one who answered about that it does not work in these versions was wrong.

I tried to assign a short cut to this macro and I cannot find how.

Any ideas?

rgs,
Kevin
Re: assigning a shortcut to a template [message #1062569 is a reply to message #1061507] Sun, 09 June 2013 07:21 Go to previous message
kevin Mising name is currently offline kevin Mising nameFriend
Messages: 10
Registered: March 2010
Junior Member
Hi,
Reminder - any ideas regarding keyboard shortcut to PM macro?

reagrds
Kevin
Previous Topic:Error in debbuger in Eclipse CTD with Cygwin
Next Topic:LLVM and Eclipse CDT
Goto Forum:
  


Current Time: Thu Apr 25 10:42:10 GMT 2024

Powered by FUDForum. Page generated in 0.03370 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top