Import / Export AppCode Macros?
This is a question about macros in the AppCode IDE (Edit -> Macros), not about Objective C macros.
I recorded a macro that will solve a problem for a coworker, which was a fairly straightforward process. Now I would like to export it, so he can add it to his macros, along with the mouse shortcut. However, there doesn't seem to be any way to import / export it. Is there a way to do this, either using the GUI or just by copy a file out of a folder in the filesytem on my computer, and adding it to the same folder on his? Otherwise, I will have to sit at his computer and manually record and clean up the macro in his IDE for him to use it. And it will require that again for every person I want to share it with...
Or is there a better alternative to macros within AppCode, that will give me the same functionality of launching a sequence of specified actions from a single mouse or keyboard shortcut?
请先登录再写评论。
Daniel, there is no import/export functionality for macros, but they are stored in XML file, so you can easily share it. The file is ~/Library/Preferences/appCode20/options/macros.xml.
Thanks Vyacheslav! That's what I was looking for.
I ran into a similar problem but on Windows. and had to search a while to find the xml.
If somneone needs that location:
C:\Users\<your_user>\.PhpStorm<version>\config\options\macros.xml