# VS Code Command Reference

Full reference of useful VS Code commands that work with `adom-vscode command <id>`.

## Layout & UI

| Command | What it does | Show/Hide |
|---------|-------------|-----------|
| `workbench.action.toggleSidebarVisibility` | Toggle primary sidebar (left) | toggle |
| `workbench.action.focusSideBar` | Show + focus primary sidebar | show |
| `workbench.action.closeSidebar` | Hide primary sidebar | hide |
| `workbench.action.toggleAuxiliaryBar` | Toggle secondary sidebar (right) | toggle |
| `workbench.action.focusAuxiliaryBar` | Show + focus secondary sidebar | show |
| `workbench.action.closeAuxiliaryBar` | Hide secondary sidebar | hide |
| `workbench.action.togglePanel` | Toggle bottom panel | toggle |
| `workbench.action.focusPanel` | Show + focus bottom panel | show |
| `workbench.action.closePanel` | Hide bottom panel | hide |
| `workbench.action.toggleActivityBarVisibility` | Toggle activity bar (left icon strip) | toggle |

## Terminal

| Command | What it does |
|---------|-------------|
| `workbench.action.terminal.toggleTerminal` | Toggle terminal |
| `workbench.action.terminal.new` | New terminal |
| `workbench.action.terminal.focus` | Focus terminal (shows it) |
| `workbench.action.terminal.clear` | Clear terminal |
| `workbench.action.terminal.kill` | Kill active terminal |

## Editors & Tabs

| Command | What it does |
|---------|-------------|
| `workbench.action.closeAllEditors` | Close all tabs |
| `workbench.action.closeActiveEditor` | Close current tab |
| `workbench.action.showAllEditors` | Show all open tabs picker |
| `workbench.action.quickOpen` | Quick file picker (Ctrl+P) |
| `workbench.action.files.newUntitledFile` | New untitled file |
| `editor.action.formatDocument` | Format current file |

## Settings & Config

| Command | What it does |
|---------|-------------|
| `workbench.action.openSettings` | Open Settings UI |
| `workbench.action.openSettingsJson` | Open settings.json |
| `workbench.action.openGlobalKeybindings` | Open keyboard shortcuts |
| `workbench.action.reloadWindow` | Reload VS Code window |

## Claude Code

| Command | What it does |
|---------|-------------|
| `claude-vscode.newConversation` | New Claude Code chat |
| `claude-vscode.editor.open` | Open Claude Code in new tab |
| `claude-vscode.editor.openLast` | Open last conversation |
| `claude-vscode.sidebar.open` | Open Claude Code in sidebar |
| `claude-vscode.terminal.open` | Open Claude Code in terminal |
| `claude-vscode.focus` | Focus Claude Code input |
| `claude-vscode.blur` | Blur Claude Code input |
| `claude-vscode.showLogs` | Show Claude Code logs |
| `claude-vscode.update` | Update Claude Code extension |

## MicroPico (Raspberry Pi Pico)

| Command | What it does |
|---------|-------------|
| `micropico.connect` | Connect to Pico |
| `micropico.disconnect` | Disconnect |
| `micropico.upload` | Upload project to Pico |
| `micropico.run` | Run current file on Pico |
| `micropico.remote.run` | Run current file on Pico (remote) |
| `micropico.universalStop` | Stop execution |
| `micropico.reset.hard` | Hard reset Pico |
| `micropico.reset.soft` | Soft reset Pico |
| `micropico.extra.getSerial` | List serial ports |
| `micropico.extra.pins` | Show Pico pin map |
| `micropico.downloadFile` | Download file from Pico |
| `micropico.uploadFile` | Upload file to Pico |
| `micropico.deleteAllFiles` | Delete all files from board |
| `micropico.flashPico` | Flash Pico in BOOTSEL mode |

## Code Runner

| Command | What it does |
|---------|-------------|
| `code-runner.run` | Run current file |
| `code-runner.runByLanguage` | Run by language |
| `code-runner.stop` | Stop running code |

## Python

| Command | What it does |
|---------|-------------|
| `python.execInTerminal` | Run Python file in terminal |
| `python.execSelectionInTerminal` | Run selection in terminal |
| `python.createTerminal` | Create Python terminal |
| `python.setInterpreter` | Select Python interpreter |
| `python.configureTests` | Configure test framework |
