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:
- Under System Preferences > Keyboard, click the plus symbol (+) in the lower left corner
- Choose your preferred language (English > U.S. or Portuguese > Brazil)
- 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