From e3fc87aecdc140f41aff7af9c65631b87025e8bb Mon Sep 17 00:00:00 2001 From: MOrlassino Date: Wed, 1 Jul 2020 08:10:19 -0400 Subject: [PATCH] Update devcontainer.json Don't watch the target directory. Stops cargo locked/missing file warnings. --- .devcontainer/devcontainer.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 625e7a3..4329276 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,14 +6,20 @@ // Set *default* container specific settings.json values on container create. "settings": { "terminal.integrated.shell.linux": "/bin/bash", - "lldb.executable": "/usr/bin/lldb" + "lldb.executable": "/usr/bin/lldb", + // VS Code don't watch files under ./target + "files.watcherExclude": { + "**/target/**": true + } }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "rust-lang.rust", "bungcip.better-toml", - "vadimcn.vscode-lldb" + "vadimcn.vscode-lldb", + // (Optional) Displays the current CPU stats, memory/disk consumption, clock freq. etc. of the container host in the VS Code status bar. + "mutantdino.resourcemonitor" ], // Use 'forwardPorts' to make a list of ports inside the container available locally. @@ -24,4 +30,4 @@ // Comment out to run as root instead "remoteUser": "vscode" -} \ No newline at end of file +}