Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autoclose single and double quotes vscode

My vscode does not automatically close the single and double quotes. I've disabled all extensions, but the problem still persists.

vscodeVersion 1.15.0 (1.15.0)

MAC osx: Version 10.12.6 (16G29)

like image 926
Mario Rodeghiero Avatar asked Aug 22 '17 03:08

Mario Rodeghiero


2 Answers

It's worth noting that vscode has a separate editor setting for auto closing quotes from that of brackets. If you have: "editor.autoClosingQuotes": "never" in your settings, then vscode will never close quotes. On the other hand, if you have "editor.autoClosingQuotes": "always", then it will always add the extra closing quote.

like image 140
iislucas Avatar answered Sep 21 '22 17:09

iislucas


Change your keyboard language to US only instead of US International.

like image 24
Ameer Hamza Avatar answered Sep 18 '22 17:09

Ameer Hamza