From 6f23ad24561a1bcc583ebd0299107168682bca1d Mon Sep 17 00:00:00 2001 From: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com> Date: Sat, 20 Jul 2024 18:03:37 +0000 Subject: [PATCH] Add devcontainers --- .devcontainer/devcontainer.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..befe0a2b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,29 @@ +{ + "name": "xhandler-rust", + "image": "mcr.microsoft.com/devcontainers/rust:bullseye", + "features": { + "ghcr.io/devcontainers/features/rust:1": {}, + "ghcr.io/devcontainers/features/node:1": { + "version": "20" + }, + "ghcr.io/devcontainers/features/docker-in-docker:2": {} + }, + "postCreateCommand": "echo \"source /usr/share/bash-completion/completions/git\" >> ~/.bashrc", + "customizations": { + "vscode": { + "settings": {}, + "extensions": [ + "vadimcn.vscode-lldb", + "rust-lang.rust-analyzer", + "tamasfe.even-better-toml", + "github.vscode-github-actions", + "github.vscode-pull-request-github" + ] + }, + "codespaces": { + "openFiles": [ + "README.md" + ] + } + } +} \ No newline at end of file