From: Brett Cannon Date: Mon, 3 Apr 2023 23:47:48 +0000 (-0700) Subject: Specify more settings for the C extension of VS Code for dev containers (GH-103229) X-Git-Tag: v3.12.0a7~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c71756fa651e51041ac8b55776320e3297ba081d;p=thirdparty%2FPython%2Fcpython.git Specify more settings for the C extension of VS Code for dev containers (GH-103229) Should help with auto-complete. --- diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e3fb4c6c88f4..9fbaf7fddd85 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -37,10 +37,16 @@ // "ms-python.python" ], "settings": { + "C_Cpp.default.compilerPath": "/usr/bin/clang", "C_Cpp.default.cStandard": "c11", "C_Cpp.default.defines": [ + "CONFIG_64", "Py_BUILD_CORE" ], + "C_Cpp.default.includePath": [ + "${workspaceFolder}/*", + "${workspaceFolder}/Include/**" + ], // https://github.com/microsoft/vscode-cpptools/issues/10732 "C_Cpp.errorSquiggles": "disabled", "editor.insertSpaces": true,