vscode中终端字体颜色设置

设置vscode的终端颜色,字体的设置

  1. code-> preferences -> setting --> 搜索workbench
  2. 选择第二个 workbench.colorCustomizations 修改 edit in setting.json
  3. 添加如下内容(只需要添加一对key, value即可)
 "workbench.colorCustomizations": {
        "terminal.background": "#181818",
        "terminal.foreground": "#26e045",
        "terminalCursor.background": "#D8D8D8",
        "terminalCursor.foreground": "#D8D8D8",
        "terminal.ansiBlack": "#181818",
        "terminal.ansiBlue": "#7CAFC2",
        "terminal.ansiBrightBlack": "#585858",
        "terminal.ansiBrightBlue": "#7CAFC2",
        "terminal.ansiBrightCyan": "#86C1B9",
        "terminal.ansiBrightGreen": "#A1B56C",
        "terminal.ansiBrightMagenta": "#BA8BAF",
        "terminal.ansiBrightRed": "#AB4642",
        "terminal.ansiBrightWhite": "#F8F8F8",
        "terminal.ansiBrightYellow": "#F7CA88",
        "terminal.ansiCyan": "#86C1B9",
        "terminal.ansiGreen": "#A1B56C",
        "terminal.ansiMagenta": "#BA8BAF",
        "terminal.ansiRed": "#AB4642",
        "terminal.ansiWhite": "#D8D8D8",
        "terminal.ansiYellow": "#F7CA88",
        "terminal.integrated.cursorBlinking": true,
        "terminal.integrated.lineHeight": 1.6,
        "terminal.integrated.letterSpacing": 0.1,
        "terminal.integrated.fontSize": 30, //字体大小设置
        "terminal.integrated.fontFamily": "Lucida Console", //字体设置
        "terminal.integrated.shell.linux": "/bin/zsh",
    },

其它的颜色设置参考(颜色设置)[https://glitchbone.github.io/vscode-base16-term/#/default-dark]

vscode 首页可以自定义颜色风格

customize --> color theme --> 打开颜色面板 --》我选的是Monokai

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页