macros
macros copied to clipboard
autocomplete problem with type command
So my problem is that when inserting some text using type command, autocomplete seems active and destroy my flow. For exemple: the output of this macros is "something()" i don't want the closing parentheses.
"macros" : {
"doStuff": [{
"command": "type", "args": { "text" : "something("}
}]
}
If it can helps someone, I found this trick to avoid my autocomplete problems : "mymacro" : [ {"command": "type", "args": { "text": "' . some_function()" //write the 2 parentheses } }, {"command": "deleteLeft"} //delete the second one ]
@rthoreau nice trick, i like it 👍