Search code examples
functionautocompletevisual-studio-codeparentheses

How can I make VS Code add parentheses when autocompleting functions?


Is is possible to tweak VS Code so that when function gets autocompleted, it is written with () instead of just plain function name?

For example when I type str and autocomplete to strlen I would like to get strlen(), it saves quite some time.


Solution

  • It can be solved by ticking javascript.suggest.completeFunctionCalls property up.