Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I type an accented letter in VSCode?

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

like image 559
ox_n Avatar asked Sep 25 '17 01:09

ox_n


People also ask

How do you use superscript in VS Code?

In the VS code, hit (Control + Command + Space) to bring up the Character selector and search for 'superscript' in the search box.

How do I type a Unicode character in VS Code?

This is an extension for Visual Studio Code which adds commands for inserting Unicode characters/codes and Emoji. The commands can be executed via the command palette ( View > Command Palette... / Ctrl + Shift + P ) or bound to keyboard shortcuts. No keys are bound by default.

How do you type commands in VS Code?

VS Code is equally accessible from the keyboard. The most important key combination to know is Ctrl+Shift+P, which brings up the Command Palette. From here, you have access to all of the functionality of VS Code, including keyboard shortcuts for the most common operations.


2 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+233 = é
  • Alt+225 = á

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

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

like image 157
ifconfig Avatar answered Sep 27 '22 00:09

ifconfig


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"
}
like image 45
VonC Avatar answered Sep 26 '22 00:09

VonC