简体   繁体   中英

VSCode Zen Mode specific settings

I recently discovered that VSCode has Zen mode and I quickly fell in love with it.

I like to have my terminal on the side of the window when using Zen mode. To do that I change:

"workbench.panel.defaultLocation": "right",

in my user settings. But it's tedious to change this back and force all the time.

I was wondering if there is a way to have Zenmode specific settings, like it is possible to bind certain settings to themes. Eg

"workbench.colorCustomizations": {
  "[Material Theme Palenight High Contrast]": {
    "editorError.foreground": "#FF5370",
    "editorHint.foreground": "#C3E88D",
    "editorLineNumber.foreground": "#676E95",
    "editorLineNumber.activeForeground": "#80CBC4",
    "gitDecoration.deletedResourceForeground": "#FF5370",
    "gitDecoration.conflictingResourceForeground": "#FFCB6B",
    "gitDecoration.modifiedResourceForeground": "#82AAFF",
    "gitDecoration.untrackedResourceForeground": "#C3E88D"
  },
  "[One Dark Pro]": {
    "editor.background": "#2c313a"
  }
},

您始终可以使用 ctrl-`(控制 - 反引号)切换终端窗口。希望能解决您的问题..

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