make vs code find ros headers + have exetensions ready

This commit is contained in:
Niklas Halle 2025-03-29 14:11:11 +01:00
parent 48acaebc54
commit e67d0cfda2
3 changed files with 40 additions and 9 deletions

View file

@ -8,8 +8,9 @@
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile"
},
"runArgs": ["--privileged"] // for real-time access
"runArgs": [
"--privileged" // for real-time access
],
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
@ -20,8 +21,23 @@
// "postCreateCommand": "cat /etc/os-release",
// Configure tool-specific properties.
// "customizations": {},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
},
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"ms-vscode.cmake-tools",
"ms-azuretools.vscode-docker",
"ms-vscode.cpptools-themes",
"ms-iot.vscode-ros"
]
}
}
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "devcontainer"
}
}