Skip to content

Instantly share code, notes, and snippets.

@muath-ye
Created August 28, 2020 07:04
Show Gist options
  • Save muath-ye/868a0d3db7a6d944252ce06d6d956156 to your computer and use it in GitHub Desktop.
Save muath-ye/868a0d3db7a6d944252ce06d6d956156 to your computer and use it in GitHub Desktop.
This is vscode settings to work with vector mono font as italic
{
//C:\Users\me\AppData\Roaming\Code\User\settings.json
"todo-tree.tree.showScanModeButton": false,
"files.autoSave": "afterDelay",
"git.enableSmartCommit": true,
"cSpell.userWords": [
"Abdullah",
"Assawadi",
"Laravel",
"Muath",
"Muathye",
"Swadi",
"Tawfiq"
],
"workbench.iconTheme": "file-icons-mac",
"window.zoomLevel": -1,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"workbench.colorTheme": "GitHub Sharp Dark",
"workbench.statusBar.visible": true,
"window.menuBarVisibility": "toggle",
"breadcrumbs.enabled": true,
"editor.minimap.enabled": true,
"editor.renderWhitespace": "none",
"workbench.activityBar.visible": true,
"workbench.sideBar.location": "left",
"files.eol": "\n",
"editor.fontFamily": "'Victor Mono', monospace, 'Victor Mono', Consolas, 'Courier New', monospace",
// "editor.tokenColorCustomizations": null
"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": ""
}
}
]
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment