Settings
Configure Aspect Code extension settings.
Accessing settings
Access settings via File → Preferences → Settings, then search for "Aspect Code".
aspectcode.autoRegenerateKb
Controls when KB files are automatically regenerated.
| Value | Behavior |
|---|---|
"off" | Manual only — regenerate when you run the command |
"onSave" | Regenerate on file save (debounced) |
"idle" | Regenerate after 30 seconds of inactivity |
Default: "onSave"
aspectcode.instructions.mode
Controls the instruction generation mode.
| Value | Behavior |
|---|---|
"safe" | More restrictive, detailed instructions |
"permissive" | Shorter, less restrictive instructions |
"custom" | Use only custom instructions from .aspect/instructions.md |
"off" | Disable instruction file generation entirely |
Default: "safe"
aspectcode.devLogs
Enable verbose logging for debugging.
| Value | Behavior |
|---|---|
true | Verbose logs shown in the Aspect Code output panel |
false | Normal logging only |
Default: false
Example settings.json
{
"aspectcode.autoRegenerateKb": "onSave",
"aspectcode.instructions.mode": "safe",
"aspectcode.devLogs": false
}