Skip to content

Commit 4ae41b9

Browse files
brettcannonwarsaw
authored andcommitted
Specify more settings for the C extension of VS Code for dev containers (pythonGH-103229)
Should help with auto-complete.
1 parent d5ae21d commit 4ae41b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,16 @@
3737
// "ms-python.python"
3838
],
3939
"settings": {
40+
"C_Cpp.default.compilerPath": "/usr/bin/clang",
4041
"C_Cpp.default.cStandard": "c11",
4142
"C_Cpp.default.defines": [
43+
"CONFIG_64",
4244
"Py_BUILD_CORE"
4345
],
46+
"C_Cpp.default.includePath": [
47+
"${workspaceFolder}/*",
48+
"${workspaceFolder}/Include/**"
49+
],
4450
// https://github.com/microsoft/vscode-cpptools/issues/10732
4551
"C_Cpp.errorSquiggles": "disabled",
4652
"editor.insertSpaces": true,

0 commit comments

Comments
 (0)