VSCODE的颜色设置

D:\安装程序\Microsoft VS Code\resources\app\extensions\theme-default\themes,
用vscode打开themes文件, 改成你想要的颜色就可以.你也可修改其他代码类型的颜色.
保存后重启vscode,就大功告成了

找到对应的name及其对应的setting
例如:

"name": "Function declarations",
"settings": {
				"foreground": "#144eee"

++++++++++++++++++++++++++++++++++++
建议设置:
Function declarations----默认"#dcdcaa",改橙色"#ee7d14"
Types declaration and references----默认,浅绿色"#4EC9B0
Types declaration and references, TS grammar specific----默认,浅绿色"#4EC9B0
Control flow / Special keywords----默认"#c586c0",改紫色"#ee14bf"
Variable and parameter name----默认"#9cdcfe",改浅灰色"#d4d4d4"
Constants and enums----默认"#4fc1ff",改正橙色"#f19b19"
Object keys, TS grammar specific----默认"#9cdcfe"
CSS property value----默认,淡橙色"#CE9178"
Regular expression groups----默认,淡橙色"#CE9178"

+++++++++++++++++++++++++++++++++++++++++++++++++
monokai的设置可以使用,

修改几个地方:

搜索italic,一律删除。
搜索underline,一律删除。
对于需要加粗的部分,使用如下属性字段。

"fontStyle":"bold"

接下来,分别修改各个条目。

"editor.background":"#272822"

默认为#272822,修改为#1e1e1e或者#1e1f1c。

"editor.selectionHighlightBackground":"#575b6180",

默认为#575b6180,修改为#fad5024d

{"scope":"punctuation","settings":{"foreground":"#c586c0"}},

添加punctuation的设置,

{"name":"Number","scope":"constant.numeric","settings":{"foreground":"#AE81FF"}}

number----默认为#AE81FF,修改为淡绿色"#b5cea8"。添加bold。

{"name":"Built-in constant","scope":"constant.language","settings":{"foreground":"#AE81FF"}}

Built-in constant----默认为#AE81FF,修改为橙色"#ee831f"。

{"name":"User-defined constant","scope":"constant.character, constant.other","settings":{"foreground":"#AE81FF"}}

User-defined constant----默认为#AE81FF,修改为橙色"#ee831f"。

{"name":"Variable","scope":"variable","settings":{"fontStyle":"","foreground":"#F8F8F2"}}

Variable----默认为斜体,去掉斜体。

{"name":"Keyword","scope":"keyword","settings":{"foreground":"#F92672"}}

Keyword----默认#F92672。改为浅紫色#c586c0,添加bold。

{"name":"Storage","scope":"storage","settings":{"fontStyle":"","foreground":"#F92672"}}

Storage----默认斜体,去掉斜体。修改为#66D9EF。

{"name":"Storage type","scope":"storage.type","settings":{"foreground":"#66D9EF"}}

Storage type----默认斜体,去掉斜体。

{"name":"Class name","scope":"entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution","settings":{"fontStyle":"underline","foreground":"#A6E22E"}}

Class name----默认下划线,去掉下划线。加bold,修改为#4EC9B0

{"name":"Inherited class","scope":"entity.other.inherited-class","settings":{"fontStyle":"italic underline","foreground":"#A6E22E"}}

Inherited class----默认下划线,斜体,去掉下划线,斜体。加bold。修改为#4EC9B0

{"name":"Function name","scope":"entity.name.function","settings":{"foreground":"#A6E22E"}}

Function name----默认#A6E22E,去掉斜体。修改为#dcdcaa。

{"name":"Function argument","scope":"variable.parameter","settings":{"fontStyle":"italic","foreground":"#FD971F"}}

Function argument----默认斜体,去掉斜体。修改为#ce9178,加bold。

{"name":"Library function","scope":"support.function","settings":{"fontStyle":"bold","foreground":"#66D9EF"}},
{"name":"Library constant","scope":"support.constant","settings":{"fontStyle":"bold","foreground":"#66D9EF"}},
{"name":"Library class/type","scope":"support.type, support.class","settings {"fontStyle":"bold","foreground":"#66D9EF"}},
{"name":"Library variable","scope":"support.other.variable","settings":{"fontStyle":"bold"}},

library的元素,颜色可以不变,但是一律加bold。
++++++++++++++++++++++++++++++++++++++++++++++++++++++
light plus的设置可以使用,
按需修改。

猜你喜欢

转载自blog.csdn.net/weixin_42418557/article/details/121011598
今日推荐