Commands
All available Aspect Code commands.
Command overview
All commands are available from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P). Search for "Aspect Code".
Knowledge Base commands
| Command | Description |
|---|---|
| Aspect Code: Scan Workspace | Analyze the entire workspace |
| Aspect Code: Scan Active File | Analyze only the currently open file |
| Aspect Code: Force Reindex (Clear Cache) | Clear cached analysis and rescan from scratch |
| Aspect Code: Generate Instruction Files | Create instruction files for configured AI assistants |
Configuration commands
| Command | Description |
|---|---|
| Aspect Code: Configure AI Assistants | Choose which AI assistants to generate files for |
| Aspect Code: Configure Rule Categories | Select which rule types to include |
| Aspect Code: Edit Custom Instructions | Add project-specific instructions in .aspect/instructions.md |
| Aspect Code: Enable Safe Mode | Switch to conservative instruction generation |
| Aspect Code: Enable Permissive Mode | Switch to shorter, less restrictive instructions |
Utility commands
| Command | Description |
|---|---|
| Aspect Code: Show Panel | Open the Aspect Code panel |
| Aspect Code: Toggle Enabled | Enable or disable the extension |
| Aspect Code: Copy KB Receipt Prompt | Copy the knowledge base context to clipboard |
| Aspect Code: Copy Impact Analysis for Current File | Copy impact analysis for the active file |
| Aspect Code: Stop ignoring generated files | Remove generated files from .gitignore |
| Aspect Code: Copy Debug Info | Copy diagnostic information for troubleshooting |
| Aspect Code: Examine | Deep examination of a specific file or symbol |
| Aspect Code: Insert Suppression Comment | Add a comment to suppress a finding |
API key commands
| Command | Description |
|---|---|
| Aspect Code: Enter API Key | Enter your API key for premium features |
| Aspect Code: Clear API Key | Remove stored API key |