From f3163db794f2c18a81e8b78bdaca762d6028a114 Mon Sep 17 00:00:00 2001 From: Chuck Lantz Date: Fri, 13 Aug 2021 16:13:40 +0000 Subject: [PATCH] Bump to 0.191.0 --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5dab029..f27bc45 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/rust/.devcontainer/base.Dockerfile +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/rust/.devcontainer/base.Dockerfile FROM mcr.microsoft.com/vscode/devcontainers/rust:0-1 # [Optional] Uncomment this section to install additional packages. diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 61db62b..807a2c2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: -// https://github.com/microsoft/vscode-dev-containers/tree/v0.185.0/containers/rust +// https://github.com/microsoft/vscode-dev-containers/tree/v0.191.0/containers/rust { "name": "Rust Sample", "build": { @@ -8,20 +8,22 @@ "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], // Set *default* container specific settings.json values on container create. - "settings": { + "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": [ - "rust-lang.rust", - "bungcip.better-toml", "vadimcn.vscode-lldb", - "mutantdino.resourcemonitor" + "mutantdino.resourcemonitor", + "matklad.rust-analyzer", + "tamasfe.even-better-toml", + "serayuzgur.crates" ], // Use 'forwardPorts' to make a list of ports inside the container available locally.