diff options
author | Brett Cannon <brett@python.org> | 2023-04-03 23:47:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 23:47:48 (GMT) |
commit | c71756fa651e51041ac8b55776320e3297ba081d (patch) | |
tree | 5cdf56c174e1c581a071bb421a9cb79a8cafa0ea /.devcontainer | |
parent | 02f9920900551fd0281c8989d65521d4fce4ead1 (diff) | |
download | cpython-c71756fa651e51041ac8b55776320e3297ba081d.zip cpython-c71756fa651e51041ac8b55776320e3297ba081d.tar.gz cpython-c71756fa651e51041ac8b55776320e3297ba081d.tar.bz2 |
Specify more settings for the C extension of VS Code for dev containers (GH-103229)
Should help with auto-complete.
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/devcontainer.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e3fb4c6..9fbaf7f 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, |