Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code does not add function parentheses in JavaScript

For example, I am writing

console.log

and press tab but Visual Studio Code does not add parentheses. When I look here, VSCode automatically adds open and close parentheses. However, it didn't work for me. How can I fix it? By the way, when I add the open parenthesis, it is adding the closed parenthesis.

like image 943
Zagano Avatar asked Apr 24 '26 14:04

Zagano


1 Answers

One setting which may help is to enable:

"javascript.suggest.completeFunctionCalls": true,

Search for

Javascript > Suggest: Complete Function Calls

 Complete Functions with their parameter signature.
like image 197
Mark Avatar answered Apr 26 '26 13:04

Mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!