configure vscode extensions for lsp support

This commit is contained in:
Nikita Sivukhin
2025-12-15 12:51:36 +04:00
parent 5ccc623caa
commit f63c55fb66
2 changed files with 18 additions and 1 deletions

View File

@@ -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

View File

@@ -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,