Apparently, VSCode does not detect the single quotation mark as the opening character when the Mac keyboard language is set to Brazil - Pro.
The solution is to change the language for Brazil or U.S. through the following steps:
In System Preferences > Keyboard, click the plus symbol (+) in the lower left corner
Choose your preferred language (US & Canada)
Click "Add".
Now in the right corner of the status bar, click on the Brazilian flag, and change the keyboard language to the language selected in the previous step.
It is worth mentioning that in the U.S. language as well as in the Brazilian language, accents are inserted differently, and in order to use them, you only have to activate the following shortcuts:
-
´
- ⌥ + and
-
^
- ⌥ + i
-
˜
- ⌥ + n
Press the required combination of the desired accent and then the letter you want to accent