visual studio code change font to cursive code example
Example: make font cursive vs code
{ //You need to install FireCodeiScript font first
//https://github.com/kencrocken/FiraCodeiScript download this and just intstall the fonts one by one
//put the below code in vs code settings.json file after installing font and voila
"editor.fontFamily": "Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "comment",
"scope": [
"comment"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "Keyword Storage",
"scope": [
"keyword",
"keyword.control",
"storage"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "Entity",
"scope": [
"entity.name.method",
"entity.name.type.class",
"entity.other.attribute-name"
],
"settings": {
"fontStyle": "italic"
}
},
{
"name": "Variable",
"scope": [
"variable.language"
],
"settings": {
"fontStyle": "italic"
}
}
]
}
}