# Install VS Code extensions (edit the list below to add/remove). # code is the native OSS build (pacman 'code'), installed by the system layer. # It resolves extensions against the Open VSX registry (not the MS Marketplace). # `code --install-extension` is idempotent: it skips anything already present. if ! command -v code >/dev/null; then echo " skip: code not installed — no VS Code extensions" return 0 2>/dev/null || exit 0 fi exts=( anthropic.claude-code esbenp.prettier-vscode ) for ext in "${exts[@]}"; do code --install-extension "$ext" >/dev/null 2>&1 \ && info "extension: $ext" \ || echo " FAILED extension: $ext" done