AutoPCB Subcircuit Extension
Edit AutoPCB subcircuit Python files locally in VSCode with real-time sync to the web app.
Features
- Real-time sync: Changes sync bidirectionally between VSCode and the AutoPCB web app via WebSocket
- Subcircuit library browser: Browse and open your subcircuit files directly from the sidebar
- Conflict resolution: Smart handling when local and remote changes conflict
- Auto-save: Automatically saves changes to the server (configurable)
Getting Started
- Click the AutoPCB icon in the activity bar (left sidebar)
- Click "Sign in to AutoPCB" in the Subcircuit Files panel
- Sign in with your email/password or Google account
- Your subcircuit files will appear organized by category
- Click any file to open it for editing
Requirements
- An AutoPCB account at autopcb.app
- VSCode 1.85.0 or later
Extension Settings
autopcb.environment: Environment to connect to (development or production)
autopcb.autoSave: Enable/disable automatic saving to server (default: true)
autopcb.autoSaveDelay: Delay in milliseconds before auto-saving (default: 1000)
Commands
AutoPCB: Sign In - Sign in to your AutoPCB account
AutoPCB: Sign Out - Sign out of your account
AutoPCB: Refresh Files - Refresh the subcircuit file list
Python Autocomplete
For autocomplete and type checking in your subcircuit files, install the AutoPCB stubs package:
pip install autopcb-stubs
Feedback & Issues
Report issues at github.com/AutoPCB/AutoPCB
| |