Files
codam-webserver-team/.devcontainer/devcontainer.json
T
2026-09-07 00:45:35 +02:00

33 lines
962 B
JSON

{
"name": "webserv (Ubuntu 22.04 / g++ 14)",
// Reuses the same compose file the terminal workflow uses, so the editor and
// `docker compose run` always land in an identical environment.
"dockerComposeFile": "../docker/compose.yml",
"service": "dev",
"workspaceFolder": "/webserv",
"remoteUser": "dev",
// Keep the container alive when the VS Code window is closed, instead of
// tearing it down and rebuilding on the next open.
"shutdownAction": "none",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.makefile-tools",
"twxs.cmake"
],
"settings": {
"C_Cpp.default.compilerPath": "/usr/bin/g++-14",
"C_Cpp.default.cppStandard": "c++23",
"C_Cpp.default.intelliSenseMode": "linux-gcc-x64",
"editor.formatOnSave": false,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
}
}