I'm looking to create a VScode snippet that would execute on an arbitrary prefix. I'm not exactly sure if a snippet is the right term for it, but here's what I'm thinking:
myFunction();
// Autofill this block
call(myFunction);
//
myFunctionNamedBob();
// Autofill this block
call(myFunctionNamedBob);
//
Is it possible to insert call(anyFunction)
any time I hit enter after anyFunction();
?
Thanks in advance.
CodePudding user response:
the extension Snippet Generator does a good creating snippets, else you can create user snippets by :