macros icon indicating copy to clipboard operation
macros copied to clipboard

autocomplete problem with type command

Open RamyRais opened this issue 7 years ago • 2 comments

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("}
     }]
}

RamyRais avatar Jan 31 '18 09:01 RamyRais

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 avatar Mar 12 '20 09:03 rthoreau

@rthoreau nice trick, i like it 👍

RamyRais avatar Mar 12 '20 09:03 RamyRais