In the latest version of Sublime Text (3.2.2), my macros don’t work as they did.
They’re pretty simple. Cut text, insert text and paste text. The result, as you can see, is quite random (I’m repeating the same action all the time.)
Here it is the marco
[
{
"args":
{
"to": "tag"
},
"command": "expand_selection"
},
{
"args": null,
"command": "cut"
},
{
"args":
{
"characters": "${_(\""
},
"command": "insert"
},
{
"args": null,
"command": "paste"
},
{
"args":
{
"characters": "\")}"
},
"command": "insert"
}
]
I am using “Textmate Freemarker Bundle” and a key binding linked to the macro.