Skip to content

Commit 1a053e3

Browse files
committed
better devcontainer setup
1 parent 18f3cff commit 1a053e3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@
2323
"cmake.configureOnOpen": true,
2424
"cmake.buildDirectory": "${workspaceFolder}/build",
2525
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
26-
"C_Cpp.default.cStandard": "c11",
27-
"C_Cpp.default.cppStandard": "c++14"
26+
"C_Cpp.default.compilerPath": "/usr/lib/ccache/gcc",
27+
"C_Cpp.default.cStandard": "c17",
28+
"C_Cpp.default.cppStandard": "c++17",
29+
"C_Cpp.default.intelliSenseMode": "linux-gcc-x64",
30+
"C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json"
2831
}
2932
}
3033
},

0 commit comments

Comments
 (0)