[英]How to change text color in vscode?
For a specific theme in VSCode, how to change the text color for numeric data?对于 VSCode 中的特定主题,如何更改数字数据的文本颜色?
For example, I want to change the text color of decimal number '1433'( and all other decimal numeric data).例如,我想更改十进制数字“1433”(以及所有其他十进制数字数据)的文本颜色。 What modifications are to be done in the JSON file to achieve this?
在 JSON 文件中需要做哪些修改来实现这一点?
You can customize your active color theme with the
workbench.colorCustomizations
andeditor.tokenColorCustomizations
user settings.您可以使用
workbench.colorCustomizations
和editor.tokenColorCustomizations
用户设置自定义您的活动颜色主题。
Do you need to change the color for all the numbers?您需要更改所有数字的颜色吗?
Then try This:然后试试这个:
"editor.tokenColorCustomizations": { "numbers": "#d4922f" },
“editor.tokenColorCustomizations”:{“数字”:“#d4922f”},
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.