欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

VS code嵌入式常用配置

程序员文章站 2022-05-24 23:45:34
...

1.插件安装:

VS code嵌入式常用配置

2.软件配置:

c_cpp_properties.json

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "D:/SoftwareFile/Microsoft Visual Studio 12.0/VC/include/"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE",
                "__CC_ARM"
            ],
            "intelliSenseMode": "msvc-x64",
            "cStandard": "c99",
            "cppStandard": "c++20"
        }
    ],
    "version": 4
}

setttings.json

{
    "C_Cpp.default.cStandard": "c99",
    "editor.fontSize": 18,
    "files.encoding": "gb2312",
    "window.zoomLevel": 0,
    "workbench.colorCustomizations": {
    "editor.selectionHighlightBackground": "#79562f"
    },
    "editor.semanticHighlighting.enabled": true,
    "editor.renderWhitespace": "all",
    "bookmarks.navigateThroughAllFiles": true,
    "bookmarks.saveBookmarksInProject": true,
    "workbench.sideBar.location": "left",
    "C_Cpp.updateChannel": "Insiders",
    "http.proxySupport": "off",
    "files.exclude": {
        "**/*.bak": true
    }

}