Skip to content

Instantly share code, notes, and snippets.

@gunjanpatel
Created August 1, 2023 11:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunjanpatel/912c3b18323ff5f9be38c9fdea60fddd to your computer and use it in GitHub Desktop.
Save gunjanpatel/912c3b18323ff5f9be38c9fdea60fddd to your computer and use it in GitHub Desktop.

VS Code theme setting

Preview

Go

image

PHP

image

Theme

One Dark Pro

Font File

https://github.com/kencrocken/FiraCodeiScript

{
    "security.workspace.trust.untrustedFiles": "open",
    "php.validate.executablePath": "php",
    "git.autofetch": true,
    "security.allowedUNCHosts": [
        "wsl.localhost"
    ],
    "redhat.telemetry.enabled": false,
    "files.autoSave": "afterDelay",
    "explorer.compactFolders": false,
    "editor.tabSize": 8,
    "workbench.tree.indent": 16,
    "workbench.colorTheme": "One Dark Pro",
    "editor.formatOnPaste": true,
    "editor.lineHeight": 30,
    "editor.fontFamily": "'Fira Code iScript', 'Fira Code', 'JetBrains Mono', 'Courier New', monospace",
    "editor.fontLigatures": true,
    // Overrides editor syntax colors and font style from the currently selected color theme.
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope" : [
                    // Following will be in italic
                    "comment",
                    "entity.name.type.class", // class name
                    "keyword", // import, export, return ...
                    "storage.modifier", // static keyword
                    "support.class.builtin",
                    "keyword.control",
                    "constant.language",
                    "entity.other.attribute-name",
                    "entity.name.method"
                ],
                "settings": {
                    "fontStyle": "italic bold"
                }
            },
            {
                // Following should be excluded from italic
                "scope": [
                    "invalid",
                    "keyword.operator",
                    "constant.numeric.css",
                    "keyword.other.unit.px.css",
                    "constant.numeric.decimal.js",
                    "constant.numeric.json"
                ],
                "settings": {
                    "fontStyle": ""
                }
            }
        ]
    },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment