trainings/Rust_2026/rust-bs-2026-09-14/.devcontainer/devcontainer.json

37 lines
1 KiB
JSON

{
"name": "Rust",
"build": {
"dockerfile": "Dockerfile",
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"vadimcn.vscode-lldb",
"rust-lang.rust-analyzer",
"ms-toolsai.jupyter",
"ms-toolsai.vscode-jupyter-powertoys"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "chown -R $(whoami) /usr/local/cargo/",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
//"remoteUser": "vscode"
}