Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Code: change letter spacing (kerning)

How do I change the horizontal letter spacing in VS Code?

I'd like to reduce it a little, in other words, I want to change this:

before

to this:

enter image description here

like image 737
Jo Liss Avatar asked Mar 21 '17 15:03

Jo Liss


People also ask

How do I change the spacing between letters in VS Code?

I was able to set this by simply searching in the User Settings (CTRL+SHIFT+P) for spacing and there are two separate boxes that were set to 0 for terminal and editor. You can change the value and see it update live, which is really cool.

What does Ctrl space do in VS Code?

You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in JavaScript).

What property is used to adjust the space between text character?

Letter Spacing The letter-spacing property is used to specify the space between the characters in a text.


1 Answers

As of VS Code 1.13, there is an "editor.letterSpacing" setting.

For example, I'm using the following code in my settings to tighten up the letter spacing ever so slightly:

{
    "editor.letterSpacing": -0.15
}
like image 64
Jo Liss Avatar answered Sep 17 '22 17:09

Jo Liss