visual-studio-code - Visual Studio 代码 : different color themes for different projects

标签 visual-studio-code

我有 2 个带有两个不同项目的 Visual Studio Code 实例。

有没有办法根据项目使 VS Code 实例的主题彼此不同?

最佳答案

// Specifies the color theme used in the workbench.


"workbench.colorTheme": "...……….",

如果你把它放到你的“WORKSPACE SETTINGS ”和 中不是 USER SETTINGS ” 然后您将获得每个工作区的不同主题。当您打开您的设置 Ctrl-,(这是一个逗号),然后在右侧编辑器上方您将看到“用户设置”和“工作区设置”,选择工作区设置,然后单击左侧的铅笔图标workbench.colortheme设置来改变它。

如果您不想更改整个主题只是为了快速区分工作区,请在您的工作区设置中尝试这些设置的一些组合:
"workbench.colorCustomizations": {

  "activityBar.background": "#f00", 
  "titleBar.activeBackground": "#f00",
  "statusBar.background": "#f00"
}

关于visual-studio-code - Visual Studio 代码 : different color themes for different projects,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51571748/

相关文章:

android - 如何解决错误 "Unable to find valid certification path to requested target while executing command react-native run-android"

php - VScode 格式化程序,将左括号保持在同一行(PHP)

visual-studio-code - TextMate 语法 -- 规则的优先级

Windows 上 VS Code 中的 Flutter 代码覆盖率报告?

flutter pub run build_runner 构建失败

visual-studio-code - 在Visual Studio Code中生成当前打开的文件

python - 如何配置 VS Code 以便能够进入调试 Python 脚本时加载的共享库 (.so)?

java - Visual Studio Code - Java 类路径不完整。只会报告语法错误

node.js - VSCode 调试器在 Node 模块文件中意外暂停

javascript - "rejected promise not handled within 1 second"vscode 扩展 API