From f63c55fb668791cbbb3310614fe0a87019d51981 Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Mon, 15 Dec 2025 12:51:36 +0400 Subject: [PATCH] configure vscode extensions for lsp support --- .devcontainer/Dockerfile | 4 ++++ .devcontainer/devcontainer.json | 15 ++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e468701d2..a6053ab5d 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -95,6 +95,10 @@ RUN set -eux; \ curl -fsSL "https://go.dev/dl/go${GO_VERSION}.${GOOS}-${GOARCH}.tar.gz" \ | sudo tar -C /usr/local -xz +RUN go install golang.org/x/tools/gopls@latest +RUN go install honnef.co/go/tools/cmd/staticcheck@latest +RUN chown -R node:node /home/node/go + # Set up non-root user USER node diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index f7c0fa3b2..5242238a2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,9 +17,22 @@ "vscode": { "extensions": [ "anthropic.claude-code", + "eamodio.gitlens", + + // Rust + "rust-lang.rust-analyzer", + + // Go + "golang.Go", + + // Python + "ms-python.python", + "ms-python.vscode-pylance", + + // JavaScript / TypeScript "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "eamodio.gitlens" + "ms-vscode.vscode-typescript-next" ], "settings": { "editor.formatOnSave": true,