自定义VSCode终端主题样式

#编程技术 2024-01-08 23:08:00 | 全文 464 字,阅读约需 1 分钟 | 加载中... 次浏览

👋 相关阅读


配置settings.json文件

修改Vscode的默认语言

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

自定义终端配色

下面是一个终端配色模板: 以下内容需要放在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

VIA

自定义VSCode终端主题样式_牛客博客 https://blog.nowcoder.net/n/31b5a425a343429b9a025c74eab1e3e0

Edit | Last updated on 2024-05-28 16:37:18




×