Overview Version History Q & A Rating & Review
Auto-Retry for Antigravity IDE
Tự động phát hiện lỗi và retry trong Antigravity IDE mà không cần thao tác thủ công.
Tính năng
🔄 Tự động retry khi phát hiện lỗi từ Antigravity IDE
🧠 3 lớp phát hiện lỗi : Diagnostics panel, Output channel, Error notifications
⚙️ Cấu hình linh hoạt : delay, max retries, cooldown, từ khóa lỗi
📊 Status bar hiển thị trạng thái và số lần retry
⌨️ Phím tắt Ctrl+Shift+R (Mac: Cmd+Shift+R) để retry thủ công
Cài đặt
Extensions panel (Ctrl+Shift+X) → "..." → "Install from VSIX..."
→ chọn file monitor-antigravity-1.x.x.vsix
Commands
Command
Mô tả
Auto-Retry: Bật tự động retry
Bật extension
Auto-Retry: Tắt tự động retry
Tắt extension
Auto-Retry: Retry ngay bây giờ
Retry thủ công (Ctrl+Shift+R)
Auto-Retry: Reset thống kê
Reset bộ đếm retry
Auto-Retry: Xem trạng thái & cài đặt
Xem status chi tiết
Cài đặt nâng cao
Mở Settings (Ctrl+,) và tìm autoRetry:
Cài đặt
Mặc định
Mô tả
autoRetry.enabled
true
Bật/tắt
autoRetry.delayMs
2000
Delay trước khi retry (ms)
autoRetry.maxRetries
5
Số lần retry tối đa
autoRetry.cooldownMs
30000
Cooldown sau max retries (ms)
autoRetry.retryCommand
""
Command ID của Antigravity (để trống = tự tìm)
autoRetry.errorKeywords
[...]
Từ khóa phát hiện lỗi
Cài đặt command retry tùy chỉnh
Nếu biết command ID của Antigravity, vào Settings và điền vào autoRetry.retryCommand.
Mở Command Palette (Ctrl+Shift+P) → gõ tên lệnh → click chuột phải để copy ID.
Build từ source
npm install
npm run package
Lưu ý quan trọng cho macOS: Nếu bạn đang để project trong thư mục đồng bộ iCloud Drive và lệnh npm run package bị treo, nguyên nhân là do macOS `fileproviderd` quét thư mục `node_modules`. Hãy dùng chuỗi lệnh đóng gói an toàn sau để copy code ra ngoài /tmp và build:
mkdir -p /tmp/auto-retry-tmp && rsync -a --exclude=node_modules . /tmp/auto-retry-tmp/ && cd /tmp/auto-retry-tmp && npm install && npx @vscode/vsce package --no-dependencies && cp *.vsix "/Users/quoc01/Library/Mobile Documents/com~apple~CloudDocs/Documents/auto-retry-antigravity/" && rm -rf /tmp/auto-retry-tmp