Vscode: Font stylistic set support

Created on 9 Sep 2019  Â·  2Comments  Â·  Source: microsoft/vscode

Issue Type: Feature Request

In the new version 2.0 of Fira Code, there are some stylistic options that can be set (e.g. old-style figures). In Sublime Text there's a simple json key you can add to its settings file to enable the ones you want.

In VSCode, you have to use an extension which modifies the "custom css". This seems hacky and needs to be enabled after every update.

I'd rather be able to do this with a settings key like Sublime Text.

VS Code version: Code - Insiders 1.39.0-insider (0f1bd7721b793ed8b7805ba621061ce5a1f5c263, 2019-09-09T05:26:48.181Z)
OS version: Darwin x64 18.7.0

*duplicate feature-request font-rendering

Most helpful comment

Implemented via https://github.com/microsoft/vscode/commit/ab0eb6de2d5fb4563385d98f302f78caa1767efd (https://github.com/microsoft/vscode/issues/82153) and it already shipped in Insiders.

e.g.

"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"

or

    "editor.fontFamily": "Fira Code"    
    "editor.fontLigatures": true,
    "[cpp]": {
        "editor.fontLigatures": "'ss06', 'ss19'",
    },
    "[javascript]": {
        "editor.fontLigatures": "'ss06'",
    }, 

All 2 comments

Implemented via https://github.com/microsoft/vscode/commit/ab0eb6de2d5fb4563385d98f302f78caa1767efd (https://github.com/microsoft/vscode/issues/82153) and it already shipped in Insiders.

e.g.

"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum'"

or

    "editor.fontFamily": "Fira Code"    
    "editor.fontLigatures": true,
    "[cpp]": {
        "editor.fontLigatures": "'ss06', 'ss19'",
    },
    "[javascript]": {
        "editor.fontLigatures": "'ss06'",
    }, 

Hey @alexandrudima, awesome work on this – it makes my code font project so much nicer to use in VS Code, and is yet another reason I'm really happy to be using VS Code as my go-to editor. :) Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

villiv picture villiv  Â·  3Comments

trstringer picture trstringer  Â·  3Comments

shanalikhan picture shanalikhan  Â·  3Comments

philipgiuliani picture philipgiuliani  Â·  3Comments

NikosEfthias picture NikosEfthias  Â·  3Comments