Macros Don't Save in 10.0.3

I'm attempting to create a Macro to automate pushing to a remote repository in Mercurial and after I record it and type a name for it, it appears in the list of macros.  I can run it, but after I exit IDEA and come back it has vanished.

Why are my macros not persisting between sessions?

5 comments
Comment actions Permalink

Hello Matt,

Could you please check whether your macro exists in config/options/macros.xml file in IDEA settings dir?

0
Comment actions Permalink

Yes, I checked there but the file had the root XML element and nothing inside.  After trying several more times it finally saved and now the macro exists in the file properly.  I'm not sure what changed that caused it to finally save.

I was attempting to create a macro to push to a specific Mercurial server, but for some reason it's not saving field selection either through clicking on the text field or tabbing to it.  In the macro it shows that it selects all and then types the replacement, but when I open the Mercurial push screen it defaults to select the "OK" button so this doesn't help me.

Any ideas what I need to change to make sure it records everything?

0
Comment actions Permalink

May be macro name had some characters XML didn't like?

I didn't checked how exactly macro recording works internally, but for your case selecting input field by a shortcut (Alt-D) will do.

0
Comment actions Permalink

Though that did get recorded, it's not working.  Is there a way to insert a wait-state?  It's almost as if it's hitting the keys before the dialog appears so they get missed.

0
Comment actions Permalink

Well, I'm out of options. Macros were initially created to automate editing tasks, not the entire IDE. So please file an issue in the tracker if you feel the need.

0

Please sign in to leave a comment.