From d45e6ec4b1642db36f80a3952a6a5ee782e52a75 Mon Sep 17 00:00:00 2001 From: Nicholas Rodrigues Lordello Date: Mon, 3 Oct 2022 14:46:33 +0000 Subject: Setup .devcontainer for Codespace development --- .devcontainer/devcontainer.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .devcontainer/devcontainer.json (limited to '.devcontainer/devcontainer.json') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..7bf3d05 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,29 @@ +{ + "name": "Rust", + "build": { + "dockerfile": "Dockerfile", + "args": { + "VARIANT": "bullseye" + } + }, + + "customizations": { + "vscode": { + "settings": { + "files.watcherExclude": { + "**/target/**": true + }, + "rust-analyzer.checkOnSave.command": "clippy" + }, + + "extensions": [ + "rust-lang.rust-analyzer" + ] + } + }, + + "remoteUser": "vscode", + "features": { + "sshd": "latest" + } +} -- cgit v1.2.3