* 需要的插件

C/C++ for Visual Studio Code

 

C++ Intellisense

 

E:\github\swoole\swoole-src\.vscode\c_cpp_properties.json

 

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "E:/code/include/usr/include/**",
                "E:/code/opt/lampp/include/**",
                "E:/code/php/php-7.2.11/main/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.17134.0",
            "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64"
        }
    ],
    "version": 4
}

 

{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                ".",
                "${workspaceFolder}/**",
                "E:/code/include/usr/include/**",
                "E:/code/php/php-7.2.11/main/**",
                "E:/code/php/php-7.2.11/Zend/**"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ],
            "windowsSdkVersion": "10.0.17134.0",
            "compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/bin/Hostx64/x64/cl.exe",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "msvc-x64"
        }
    ],
    "version": 4
}