r/programming • • Dec 09 '18

LPT: configure auto parentheses for methods in VSCode

https://gfycat.com/TameSphericalAnnelid
1 Upvotes

1 comment sorted by

1

u/[deleted] Dec 09 '18

Coming from Xcode, it felt foreign for methods to not autocomplete with open parentheses with parameter options in place (meaning you can simply start tying to input parameters.)

Fortunately you can configure VSCode's settings to do this!

"typescript.suggest.completeFunctionCalls": true,
"javascript.suggest.completeFunctionCalls": true

(In the gif, I'm pressing 'a' to bring up autocomplete, Enter to autocomplete, Tab to input x, Tab to input y)