vscode配置 更改界面 外观 添加扩展 配置c/c++【VScode】

自存

更改外观→VScode 自定义代码颜色、背景颜色、方法名、括号颜色

在这里插入图片描述

{
    "workbench.iconTheme": "vscode-icons",
    "files.associations": {
        ".vue":"html"
    },
    "workbench.colorCustomizations": {
        "[Quiet Light]":{
            "editor.foreground": "#000000",

            "editor.selectionHighlightBorder": "#94767c00",
            "editor.selectionHighlightBackground": "#ff000078",
            "editorIndentGuide.activeBackground":"#81868d",
            "editorBracketMatch.background": "#ca9fdb5e",
            "editorBracketMatch.border": "#ff0000",
            "tab.activeBackground": "#ad9cd4b2",
            "textLink.foreground": "#d6561ac4",
            "descriptionForeground": "#fd0000",
            "selection.background": "#b98cd693",
            "textBlockQuote.background":"#b89a9a",
            "textSeparator.foreground": "#86c2df"
            
        },
    },

    "editor.fontSize": 15,

    "editor.tokenColorCustomizations": {
        "[Quiet Light]":{
            "comments": "#7e3648",
            "strings": "#519657",
            "functions": "#7e57c2",
            "keywords": "#8e1da1",
            "variables":"#f7aa6c",
            "numbers": "#e62020",
            
            "textMateRules": [
                {
                    "name": "Comment",
                    "scope":[
                        "comment" 
                    ],
                    "settings": {
                        "foreground": "#50a3e7cc",
                        "fontStyle": ""
                    }
                },
                {
                    "name": "[VSCODE-CUSTOM] PHP Punctuation Variable Definition",
                    "scope": "punctuation.definition.variable.php",
                    "settings": {
                        "foreground": "#e57373"
                    }
                },
                {
                    "name": "String",
                    "scope":[
                        "string"
                    ],
                    "settings": {
                        "foreground": "#32a504",
                        "fontStyle": ""
                    }
                },
                {
                    "name": "HTML:Tags",
                    "scope":[
                        "meta.tag",
                        "punctuation.definition.tag.html",
                        "punctuation.definition.tag.begin.html",
                        "punctuation.definition.tag.end.html"
                    ],
                    "settings": {
                        "foreground": "#4b4444",
                        "fontStyle": ""
                    }
                },
                {
                    "name": "HTML:Tag Names",
                    "scope":"entity.name.tag",
                    "settings": {
                        "foreground": "#a617e9",
                        "fontStyle": ""
                    }
                },
                {
                    "name": "HTML: Attribute Names",
                    "scope": [
                        "meta.tag entity.other.attribute-name",
                        "entity.other.attribute-name.html"
                    ],
                    "settings": {
                        "fontStyle": "italic",
                        "foreground": "#f31616"
                    }
                },
                {
                    "name": "Operator",
                    "scope":"keyword.operator",
                    "settings": {
                        "foreground": "#e21d1d",
                        "fontStyle": ""
                    }
                }
            ]
        }
    }
}

添加扩展

在这里插入图片描述
在这里插入图片描述

配置c/c++→环境配置(一)vs code配置C++环境(MinGW使用Dev-Cpp自带的)

如果配置出现问题查看→intellisense 模式 msvc-x64 与编译器路径不兼容

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

秋千的千秋

希望你喜欢

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值