Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎与最新的 VS Code 更新一样,所有的评论字体样式都变成了斜体。有谁知道如何将字体改回正常?谢谢。
截屏:
在您的设置中设置最简单的方法:
"editor.tokenColorCustomizations": { "comments": { "fontStyle": "" } } 具有更多控件的其他可能方式是Cmd+Shift+P-> Select Developer: Generate Color Theme From Current Settings。然后编辑您需要的内容,将其保存到新主题并加载/激活它。
"editor.tokenColorCustomizations": { "comments": { "fontStyle": "" } }
Cmd+Shift+P
Developer: Generate Color Theme From Current Settings