diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-08-17 22:48:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 22:48:38 +0300 |
commit | a630e92c468c241fa029f278e4d7a0ac96142c76 (patch) | |
tree | ebc96705a0dd8be842fb097dcb494155020fd110 /src/rust/devcontainer-feature.json | |
parent | 4ecc275a8d199cdce98cd462fee612d7f687efe4 (diff) |
Move extensions and settings under customizations.vscode (#97)
* move extensions and settings under customizations
* nit
* bump versions
Diffstat (limited to 'src/rust/devcontainer-feature.json')
-rw-r--r-- | src/rust/devcontainer-feature.json | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/src/rust/devcontainer-feature.json b/src/rust/devcontainer-feature.json index ddfe4ca..016e464 100644 --- a/src/rust/devcontainer-feature.json +++ b/src/rust/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "rust", - "version": "1.0.1", + "version": "1.0.2", "name": "Rust", "description": "Installs Rust, common Rust utilities, and their required dependencies", "options": { @@ -27,13 +27,24 @@ "description": "Select a rustup install profile." } }, - "extensions": [ - "vadimcn.vscode-lldb", - "mutantdino.resourcemonitor", - "rust-lang.rust-analyzer", - "tamasfe.even-better-toml", - "serayuzgur.crates" - ], + "customizations": { + "vscode": { + "extensions": [ + "vadimcn.vscode-lldb", + "mutantdino.resourcemonitor", + "rust-lang.rust-analyzer", + "tamasfe.even-better-toml", + "serayuzgur.crates" + ], + "settings": { + "lldb.executable": "/usr/bin/lldb", + "files.watcherExclude": { + "**/target/**": true + }, + "rust-analyzer.checkOnSave.command": "clippy" + } + } + }, "containerEnv": { "CARGO_HOME": "/usr/local/cargo", "RUSTUP_HOME": "/usr/local/rustup", @@ -44,12 +55,5 @@ ], "securityOpt": [ "seccomp=unconfined" - ], - "settings": { - "lldb.executable": "/usr/bin/lldb", - "files.watcherExclude": { - "**/target/**": true - }, - "rust-analyzer.checkOnSave.command": "clippy" - } + ] } |