简体   繁体   中英

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. 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 . Then edit what you need, save it to new theme and load/activate it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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