我不能为我的生活禁用 VS Code 的斜体

I can't for the life of me disable italics for VS Code

好的,我会直说的:

我不知道 JSON 个文件。我试过将许多在线解决方案直接复制粘贴到 settings.json 中以禁用 VS Code 的斜体字体。 None 他们曾经工作过。

这是我尝试过的:

我用的是Fira Code Font和Tokyo Night Color Theme。这种组合是否以某种方式使我无法停用斜体?唯一困扰我的词是“如果、其他、在、为了、同时”等...

有人可以解释一下这个编程菜鸟吗?难道我做错了什么?这是不可能的吗?

此外,我搞得一团糟,以至于在“检查编辑器标记和作用域”时,当我 select a for 时,它显示的是:

将此添加到 settings.json

"editor.tokenColorCustomizations": {
    "textMateRules": [
        {
            "scope": [
                "comment",
                "punctuation.definition.comment",
            ],
            "settings": {
                "fontStyle": ""
            }
        }
    ]
},

就我而言,解决方案是将我在 VS Code 的扩展页面上找到的这段代码粘贴到 settings.json:

"editor.tokenColorCustomizations": {
        "[Tokyo Night]": { // or "[Tokyo Night Storm]"
            "textMateRules": [{
                "scope": [
                    "comment",
                    "meta.var.expr storage.type",
                    "keyword.control.flow",
                    "keyword.control.return",
                    "meta.directive.vue punctuation.separator.key-value.html",
                    "meta.directive.vue entity.other.attribute-name.html",
                    "tag.decorator.js entity.name.tag.js",
                    "tag.decorator.js punctuation.definition.tag.js",
                    "storage.modifier"
                ],
                "settings": {
                    "fontStyle": ""
                }
            }]
        }
    },

据我了解,这直接解决了我的颜色主题,而其他解决方案则没有。