简体   繁体   English

如何在最新的VS Code中更改Python注释字体样式?

[英]How to change Python comment font style in the latest VS Code?

Seems like with the latest VS Code update, all the comment font style has gone Italic. 似乎与最新的VS Code更新一样,所有注释字体样式都变为斜体。 Does anyone know how to change the font back to normal? 有谁知道如何将字体更改回正常状态? Thanks. 谢谢。

Screenshot: 屏幕截图:

屏幕截图

Easiest way is set in your settings: 在您的设置中设置最简单的方法:

"editor.tokenColorCustomizations": { "comments": { "fontStyle": "" } } Other possible way with more controls is 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 Then edit what you need, save it to new theme and load/activate it. 然后编辑所需内容,将其保存到新主题并加载/激活。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM