1

I am using the VS Code theme Base 16 Twilight.

This is about the best theme that I have found, but I can't seem to find a way to edit the color that controls this chunk of code.

I would like to make the highlighted bit here in orange. How do I go about doing that?

enter image description here

Here is the information from the TM Scope inspector. It says "No theme selector". enter image description here

4

1 回答 1

0

这真的不是 PowerShell 或 VSCode 问题,这正是我们在这里的目的。因为这是一个关于如何为 X 或 Y 配置 VScode 的问题。

所以,这对于 StackOverflow 来说确实是题外话,应该转移到 SuperUser 或 StackExchange

但是,您始终可以创建自己的主题以使用或破解打开您正在使用的主题文件并更改它,如果作者提供源代码,或者使用您的设置(json 文件),PSReadline 设置等。 .. 这记录在 MS 文档站点上的 VSCode 帮助文件中。

更改颜色主题

https://vscode-docs.readthedocs.io/en/latest/customization/themes

如何编辑 Visual Studio Code 的默认深色主题?

使用新版本的 VSCode,您无需寻找设置文件来自定义主题。现在,您可以使用 workbench.colorCustomizations 和 editor.tokenColorCustomizations 用户设置自定义颜色主题。可以在此处找到有关此问题的文档。

于 2020-03-14T04:35:35.250 回答