Skip to content

Instantly share code, notes, and snippets.

@sarthaktexas
Created September 3, 2020 05:47
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 sarthaktexas/f752b3301bdffbdfa57d8ae1db97fd10 to your computer and use it in GitHub Desktop.
Save sarthaktexas/f752b3301bdffbdfa57d8ae1db97fd10 to your computer and use it in GitHub Desktop.
settings.json for VS Code
{
"workbench.colorTheme": "Hypersubatomic",
"editor.fontLigatures": true,
"editor.formatOnType": true,
"files.autoSave": "afterDelay",
"git.autofetch": true,
"editor.tokenColorCustomizations": {
"textMateRules": [{
"scope": [
//following will be in italic (=FiraCode)
"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": ""
}
}
]
},
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment