Automatic closing of single and double quotes vscode

Asked

Viewed 1,994 times

1

My vscode does not automatically close single and double quotes. I’ve disabled all extensions, autoclosing is already true, but the problem still persists.

vscodeVersion 1.15.0 (1.15.0)

MAC osx: Version 10.12.6 (16G29)

"editor." autoClosingBrackets ": true,

1 answer

1

Apparently, Vscode does not detect the single quote as opening character when the keyboard language of the Mac is set to Brazil - Pro.

The solution is to change the language to Brazil or U.S. through the following steps:

  1. Under System Preferences > Keyboard, click the plus symbol (+) in the lower left corner
  2. Choose your preferred language (English > U.S. or Portuguese > Brazil)
  3. Click on "Add".

Now, in the right corner of the status bar, click the flag of Brazil, and change the keyboard language to the language selected in the previous step.


It is worth mentioning that, both in the U.S. language and in the Brazilian language, the accents are inserted differently, and, to use them, just trigger the following shortcuts:

  • ´ - + and
  • ^ - + i
  • ˜ - + n

Press the required combination to the desired accent, then the letter you want to accentuate

Browser other questions tagged

You are not signed in. Login or sign up in order to post.