Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save deepchand11/2bbb763f6d57785fadf3fc23403fc44b to your computer and use it in GitHub Desktop.
Save deepchand11/2bbb763f6d57785fadf3fc23403fc44b to your computer and use it in GitHub Desktop.

Revisions

  1. deepchand11 revised this gist Mar 31, 2021. 1 changed file with 48 additions and 43 deletions.
    91 changes: 48 additions & 43 deletions vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -3,49 +3,54 @@
    *Add this to settings.json (`cmd ,`):*
    ```
    {
    "editor.fontFamily": "Victor Mono, Fira Code iScript, Consolas, 'Courier New', monospace",
    "editor.lineHeight": 25,
    "editor.letterSpacing": 0.5,
    "editor.fontWeight": 400,
    "editor.cursorStyle": "line",
    "editor.cursorWidth": 5,
    "editor.cursorBlinking": "solid",
    "editor.renderWhitespace": "all",
    "editor.fontLigatures": true,
    "githubPullRequests.fileListLayout": "tree",
    "git.confirmSync": false,
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": [
    //following will be in italic (=FlottFlott)
    "comment",
    "entity.name.type.class", //class names
    "keyword", //import, export, return…
    "constant", //String, Number, Boolean…, this, super
    "storage.modifier", //static keyword
    "storage.type.class.js", //class keyword
    ],
    "settings": {
    "fontStyle": "italic"
    }
    },
    {
    "scope": [
    //following will be excluded from italics (VSCode has some defaults for italics)
    "invalid",
    "keyword.operator",
    "constant.numeric.css",
    "keyword.other.unit.px.css",
    "constant.numeric.decimal.js",
    "constant.numeric.json"
    ],
    "settings": {
    "fontStyle": ""
    }
    }
    ]
    }
    "workbench.iconTheme": "material-icon-theme",
    "window.zoomLevel": 0,
    "editor.formatOnSave": true,
    "workbench.colorTheme": "Shades of Purple",
    "files.autoSave": "onWindowChange",
    "editor.fontLigatures": true,
    "editor.fontFamily": "Victor Mono ,Operator Mono, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontSize": 17,
    "editor.lineHeight": 25,
    "editor.letterSpacing": 0.5,
    "files.trimTrailingWhitespace": true,
    "editor.fontWeight": "400",
    "editor.cursorStyle": "line",
    "editor.cursorWidth": 5,
    "editor.cursorBlinking": "solid",
    "editor.renderWhitespace": "all",
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": [
    //following will be in italic (=FlottFlott)
    "comment",
    "entity.name.type.class", //class names
    "keyword", //import, export, return…
    "constant", //String, Number, Boolean…, this, super
    "storage.modifier", //static keyword
    "storage.type.class.js", //class keyword
    ],
    "settings": {
    "fontStyle": "italic",
    }
    },
    {
    "scope": [
    //following will be excluded from italics (VSCode has some defaults for italics)
    "invalid",
    "keyword.operator",
    "constant.numeric.css",
    "keyword.other.unit.px.css",
    "constant.numeric.decimal.js",
    "constant.numeric.json"
    ],
    "settings": {
    "fontStyle": ""
    }
    }
    ]
    }
    }
    ```

  2. deepchand11 revised this gist Mar 31, 2021. 1 changed file with 43 additions and 35 deletions.
    78 changes: 43 additions & 35 deletions vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -3,41 +3,49 @@
    *Add this to settings.json (`cmd ,`):*
    ```
    {
    "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": [
    //following will be in italic
    "comment",
    "entity.name.type.class", //class names
    "constant", //String, Number, Boolean…, this, super
    "storage.modifier", //static keyword
    "storage.type.class.js", //class keyword
    "keyword", //import, export, return…
    ],
    "settings": {
    "fontStyle": "italic"
    }
    },
    {
    "scope": [
    //following will be excluded from italics (VSCode has some defaults for italics)
    "invalid",
    "keyword.operator",
    "constant.numeric.css",
    "keyword.other.unit.px.css",
    "constant.numeric.decimal.js",
    "constant.numeric.json"
    ],
    "settings": {
    "fontStyle": ""
    }
    }
    ]
    },
    "editor.fontFamily": "Victor Mono, Fira Code iScript, Consolas, 'Courier New', monospace",
    "editor.lineHeight": 25,
    "editor.letterSpacing": 0.5,
    "editor.fontWeight": 400,
    "editor.cursorStyle": "line",
    "editor.cursorWidth": 5,
    "editor.cursorBlinking": "solid",
    "editor.renderWhitespace": "all",
    "editor.fontLigatures": true,
    "githubPullRequests.fileListLayout": "tree",
    "git.confirmSync": false,
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": [
    //following will be in italic (=FlottFlott)
    "comment",
    "entity.name.type.class", //class names
    "keyword", //import, export, return…
    "constant", //String, Number, Boolean…, this, super
    "storage.modifier", //static keyword
    "storage.type.class.js", //class keyword
    ],
    "settings": {
    "fontStyle": "italic"
    }
    },
    {
    "scope": [
    //following will be excluded from italics (VSCode has some defaults for italics)
    "invalid",
    "keyword.operator",
    "constant.numeric.css",
    "keyword.other.unit.px.css",
    "constant.numeric.decimal.js",
    "constant.numeric.json"
    ],
    "settings": {
    "fontStyle": ""
    }
    }
    ]
    }
    }
    ```

  3. @junagao junagao revised this gist Mar 25, 2019. 1 changed file with 12 additions and 2 deletions.
    14 changes: 12 additions & 2 deletions vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@
    "textMateRules": [
    {
    "scope": [
    //following will be in italic (=FlottFlott)
    //following will be in italic
    "comment",
    "entity.name.type.class", //class names
    "constant", //String, Number, Boolean…, this, super
    @@ -39,4 +39,14 @@
    ]
    },
    }
    ```
    ```

    ## Resources
    https://www.cufonfonts.com/font/operator-mono
    https://github.com/kencrocken/FiraCodeiScript
    https://github.com/tonsky/FiraCode
    ```
    "editor.fontFamily": "Fira Code",
    "editor.fontLigatures": true`
    ```
    https://github.com/kosimst/FiraFlott
  4. @junagao junagao revised this gist Mar 25, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,6 @@
    # Add this to settings.json (`cmd ,`)
    # VSCode italic font settings

    *Add this to settings.json (`cmd ,`):*
    ```
    {
    "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
  5. @junagao junagao revised this gist Mar 25, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    Add this to settings.json (`cmd ,`)
    # Add this to settings.json (`cmd ,`)
    ```
    {
    "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
  6. @junagao junagao created this gist Mar 25, 2019.
    40 changes: 40 additions & 0 deletions vscode-italic-font-settings.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    Add this to settings.json (`cmd ,`)
    ```
    {
    "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
    "editor.fontLigatures": true,
    "editor.tokenColorCustomizations": {
    "textMateRules": [
    {
    "scope": [
    //following will be in italic (=FlottFlott)
    "comment",
    "entity.name.type.class", //class names
    "constant", //String, Number, Boolean…, this, super
    "storage.modifier", //static keyword
    "storage.type.class.js", //class keyword
    "keyword", //import, export, return…
    ],
    "settings": {
    "fontStyle": "italic"
    }
    },
    {
    "scope": [
    //following will be excluded from italics (VSCode has some defaults for italics)
    "invalid",
    "keyword.operator",
    "constant.numeric.css",
    "keyword.other.unit.px.css",
    "constant.numeric.decimal.js",
    "constant.numeric.json"
    ],
    "settings": {
    "fontStyle": ""
    }
    }
    ]
    },
    }
    ```