How to setup Italic Modern Font for VSCode (FiraCode iScript)

Опубликовано: 03 Ноябрь 2024
на канале: NewVant
16,815
199

Link to Font GitHub: https://github.com/kencrocken/FiraCod...

Font Family Text: 'Fira Code iScript', 'Fira Code', 'Courier New', monospace

JSON Setting: "editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic (=FlottFlott)
"comment",
"entity.name.type.class", //class names
"keyword", //import, export, return…
"storage.modifier", //static keyword
"storage.type", //class keyword
"support.class.builtin",
"keyword.control",
"constant.language",
"entity.other.attribute-name",
"entity.name.method"
],
"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": ""
}
}
]
},