mirror of https://github.com/python/cpython
Specify more settings for the C extension of VS Code for dev containers (GH-103229)
Should help with auto-complete.
This commit is contained in:
parent
02f9920900
commit
c71756fa65
|
@ -37,10 +37,16 @@
|
||||||
// "ms-python.python"
|
// "ms-python.python"
|
||||||
],
|
],
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"C_Cpp.default.compilerPath": "/usr/bin/clang",
|
||||||
"C_Cpp.default.cStandard": "c11",
|
"C_Cpp.default.cStandard": "c11",
|
||||||
"C_Cpp.default.defines": [
|
"C_Cpp.default.defines": [
|
||||||
|
"CONFIG_64",
|
||||||
"Py_BUILD_CORE"
|
"Py_BUILD_CORE"
|
||||||
],
|
],
|
||||||
|
"C_Cpp.default.includePath": [
|
||||||
|
"${workspaceFolder}/*",
|
||||||
|
"${workspaceFolder}/Include/**"
|
||||||
|
],
|
||||||
// https://github.com/microsoft/vscode-cpptools/issues/10732
|
// https://github.com/microsoft/vscode-cpptools/issues/10732
|
||||||
"C_Cpp.errorSquiggles": "disabled",
|
"C_Cpp.errorSquiggles": "disabled",
|
||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
|
|
Loading…
Reference in New Issue