How do I type an accented letter in VSCode?

Viewed 7114

I cannot find anything remotely resembling instructions for typing an accented character in VSCode.

3 Answers

On Windows, entering special characters (including letters with accents) can be done with ALT Codes. Pressing down the Alt key and then a specific series of numbers on the num pad will type the corresponding character.

e.g.

  • Alt+0233 = é
  • Alt+0225 = á

On OSX, the method is a bit simpler: https://support.apple.com/en-us/HT201586

Typing special characters on Linux is a bit hairy...

You can use the Insert Unicode plugin.

To type 'É'
(which is not easy to get, even on a French keyboard, unless you remember Alt+0201):

  • simply type E (shift+e)
  • then "Insert Unicode" (through the palette command), and select 0x301 COMBINNING ACUTE ACCENT

You can easily define keyboard shortcut to insert your favorite emoji

{
    "key": "ctrl+e f",
    "command": "insert-unicode.insertTextExact",
    "args": "fire"
}

tape in command-line setxkbmap fr , and tape 2 for é , 0 for à and 7 for è

Related