Skip to content

Instantly share code, notes, and snippets.

@capan
Last active September 19, 2022 13:19
Show Gist options
  • Save capan/51dd8e04ff73c6eb87e443ad639ee83d to your computer and use it in GitHub Desktop.
Save capan/51dd8e04ff73c6eb87e443ad639ee83d to your computer and use it in GitHub Desktop.
sample vscode settings for custom fonts
{
"javascript.updateImportsOnFileMove.enabled": "always",
"window.zoomLevel": 0,
"todo-tree.tree.showScanModeButton": false,
"git.autofetch": true,
"explorer.confirmDelete": false,
"editor.insertSpaces": false,
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.fontFamily": "'Victor Mono'",
"editor.fontWeight": "normal",
"editor.fontSize": 16,
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic
"comment",
"comment.block",
"comment.block.documentation",
"comment.line",
"constant",
"constant.character",
"constant.character.escape",
"constant.numeric",
"constant.numeric.float",
"constant.numeric.hex",
"constant.numeric.integer",
"constant.numeric.octal",
"constant.other",
"constant.regexp",
"constant.rgb-value",
"emphasis",
"entity",
"entity.name",
"entity.name.class",
"entity.name.function",
"entity.name.method",
"entity.name.section",
"entity.name.selector",
"entity.name.tag",
"entity.name.type",
"entity.other",
"entity.other.attribute-name",
"entity.other.inherited-class",
"invalid",
"invalid.deprecated",
"invalid.illegal",
"keyword",
"keyword.control",
"keyword.operator",
"keyword.operator.arithmetic",
"keyword.operator.assignment",
"keyword.operator.logical",
"keyword.operator.new",
"keyword.other",
"markup",
"markup.bold",
"markup.changed",
"markup.deleted",
"markup.heading",
"markup.inline.raw",
"markup.inserted",
"markup.italic",
"markup.list",
"markup.list.numbered",
"markup.list.unnumbered",
"markup.other",
"markup.quote",
"markup.raw",
"markup.underline",
"markup.underline.link",
"meta",
"meta.block",
"meta.cast",
"meta.class",
"meta.function",
"meta.function-call",
"meta.preprocessor",
"meta.return-type",
"meta.selector",
"meta.tag",
"meta.type",
"meta.type.annotation",
"punctuation.definition.string.begin",
"punctuation.definition.string.end",
"punctuation.separator",
"punctuation.separator.continuation",
"punctuation.terminator",
"storage",
"storage.modifier",
"storage.type",
"string",
"string.interpolated",
"string.other",
"string.quoted",
"string.quoted.double",
"string.quoted.other",
"string.quoted.single",
"string.quoted.triple",
"string.regexp",
"string.unquoted",
"strong",
"support",
"support.class",
"support.constant",
"support.function",
"support.other",
"support.type",
"support.type.property-name",
"support.variable",
"variable",
"variable.language",
"variable.name",
"variable.other",
"variable.other.readwrite",
"variable.parameter"
],
"settings": {
"fontStyle": "italic bold"
}
}
]
}
}
@capan
Copy link
Author

capan commented Sep 19, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment