I’m using the Visual Studio Code. I never want autocomplete functions with semicolon in JS.
Like when I type log + TAB
, it appears console.log();
with semicolon at the end.
How can I stop auto-complete semicolon at the end of JS functions.
I’m using the Visual Studio Code. I never want autocomplete functions with semicolon in JS.
Like when I type log + TAB
, it appears console.log();
with semicolon at the end.
How can I stop auto-complete semicolon at the end of JS functions.
2
Answers
Go to
Preferences
of VSCode and search thesemicolons
. Then selectignore
option.To make VSCode insert
console.log({})
instead ofconsole.log({});
when you typelog
and then press tab, you need to edit the snippet’s body.snippets
Preferences: Configure User Snippets
console.log().code-snippets
"console.log({$0});"
to"console.log({$0})"