配置settings.json文件

  • 打开Vscode菜单栏File->Preferences->Settings(快捷键 ctrl+,)
  • 在搜索栏中搜索workbench或者直接点击右侧目录的Workbench选项
  • 找到Workbench: Color Customizations -> Edit in settings.json

修改Vscode的默认语言

如果大家按了简体中文扩展包,怎么修改回英文呢?可以按照如下做法:

  • 菜单栏View->Command Palette或左下角小齿轮(Manage)->Command Palette, 快捷键 ctrl+shift+P
  • 在搜索栏输入display, 配置显示语言为en即可,切换回中文同理

自定义终端配色

下面是一个终端配色模板: 以下内容需要放在settings.json的最外层{}内

 "workbench.colorCustomizations": {
        "terminal.background": "#181515",
        "terminal.foreground": "#89d395",
        "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",
    },

第三方配色

如果不想自己配色,可以使用各大佬配置好的颜色,地址为: vscode-base16-term

也可以自己找喜欢的颜色修改 推荐一个配色网站: flatuicolors