Skip to content

Commit

Permalink
chore: dev container updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Feb 12, 2023
1 parent aef6f9e commit 44ced2d
Showing 1 changed file with 37 additions and 25 deletions.
62 changes: 37 additions & 25 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,48 @@
"source=/etc/localtime,target=/etc/localtime,type=bind,readonly"
],

"postCreateCommand": "cargo install typos-cli tauri-cli",

// Set *default* container specific settings.json values on container create.
"settings": {
"lldb.executable": "/usr/bin/lldb",
// VS Code don't watch files under ./target
"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",
"mutantdino.resourcemonitor",
"rust-lang.rust-analyzer",
"tamasfe.even-better-toml",
"serayuzgur.crates",
"christian-kohler.path-intellisense",
"timonwong.shellcheck",
"ms-vscode.live-server",
"rangav.vscode-thunder-client",
"bmuskalla.vscode-tldr"
],
"customizations": {
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bmuskalla.vscode-tldr",
"christian-kohler.path-intellisense",
"ms-vscode.live-server",
"mutantdino.resourcemonitor",
"rangav.vscode-thunder-client",
"rust-lang.rust-analyzer",
"serayuzgur.crates",
"tamasfe.even-better-toml",
"timonwong.shellcheck",
"vadimcn.vscode-lldb"
],

"settings": {
"lldb.executable": "/usr/bin/lldb",
// VS Code don't watch files under ./target
"files.watcherExclude": {
"**/target/**": true
},
"rust-analyzer.checkOnSave.command": "clippy"
}
}
},

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"docker-in-docker": "latest",
"git": "os-provided"
"ghcr.io/devcontainers/features/node:1": {

},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true,
"dockerDashComposeVersion":"v2"
},
"ghcr.io/devcontainers/features/git:1": {
"version":"os-provided"
}
}
}

0 comments on commit 44ced2d

Please sign in to comment.