The TokenCap VS Code extension brings all functionality directly into your editor.
Installation: Search for TokenCap by VanshArora21 in the VS Code Extensions panel, or install the VSIX package manually.
Auto Capture: After installing, TokenCap starts watching your workspace immediately. Every time you save a file, it waits 30 seconds (configurable) then regenerates all three snapshot files.
Status Bar: A $(files) TokenCap • HH:MM item appears in the status bar showing your last snapshot time. Click it to open the command menu.
Command Menu (Quick-Pick):
- Make Snapshot Now
- Open TokenCap Snapshot
- Toggle Auto Capture ON/OFF
- Create Config File
VS Code Settings:
| Setting | Default | Description |
|---|---|---|
tokencap.autoCapture | true | Auto-regenerate on save |
tokencap.debounceMs | 30000 | Wait time after save |
tokencap.outputPath | TOKENCAP.md | Output file path |
tokencap.profile | balanced | Context profile |
tokencap.maxFiles | 90 | Max files in snapshot |
tokencap.maxSourceBytes | 220000 | Source byte budget |
tokencap.maxFileBytes | 14000 | Per-file byte limit |
tokencap.maxDiffBytes | 50000 | Diff byte budget |
tokencap.includeGitDiff | true | Include git diffs |
tokencap.includeFileContents | true | Include file contents |