I want to play a macro repeatly until I press stop key
Answered
I had to do a edit action many times, so I record a macro, but I had to play it many times, how can I play it repeately automaticly until I press any key to stop it?
Post is closed for comments.
why no expert answer me this simple problem?
Hello Evans,
EZ> I had to do a edit action many times, so I record a macro, but I had
EZ> to play it many times, how can I play it repeately automaticly until
EZ> I press any key to stop it?
This is not possible to achieve using IDEA's macro functionality. You can
write a plugin for this, or you can simply hold down the key and release
it when the edit action needs to stop.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"
thank you!
but the trouble is that there is no keymap for play macro, I had to click the menu 'Tools' and select the macro, and click, so if I repeat it, no pleasure, why there is no keymap for play macro?
So define one for it. I don't think this kind of feature need to be implemented either in IDEA or a plugin.
Hello Evans,
Go to Settings | Keymaps, clone default keymap if you haven't yet, bind whatever
shortcuts to the actions under Macros node.
-
Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
oh my god, thank you, I never think of keymap can be redefined
^ What has that to do with anything?
Is there any way to repeatedly execute a macro in IC2017 and newer? Since then there was a change to the input system making input and execution not synchronous anymore. Holding the key (at 30 repetitions per second) screws up the document really bad because the execution is slower than 30 times per second.
Hi.
There is no way to do it from the box, please raise a feature request at https://youtrack.jetbrains.com/issues