Copilot Recorder
Records accepted GitHub Copilot completions from VS Code logs and creates Git commits.
Features
- Watches Copilot logs in the current VS Code window.
- Detects accepted completions from both
stillInCode and ghostText.accepted log formats.
- Commits changes in the current Git repo.
- Exports Copilot chat session JSON files.
Commands
Copilot Recorder: Start Recording (copilotRecorder.start)
Copilot Recorder: Stop Recording (copilotRecorder.stop)
Copilot Recorder: Print Copilot Log Path (copilotRecorder.printLog)
Copilot Recorder: Export All Chats (copilotRecorder.exportAllChats)
Requirements
- VS Code
1.108.0+
- Git in PATH
- Opened folder is a Git repository
- GitHub Copilot/Copilot Chat installed
Settings
All settings use the copilotRecorder.* prefix:
dedupeTtlSeconds (default 900): duplicate suppression window
debounceMs (default 0): delay before commit
addAll (default false): stage all files before commit
allowEmpty (default false): allow empty commit
dryRun (default false): show what would be committed
chatExportOutputDirectory (default empty): export target folder
Quick start
- Open a Git repository folder in VS Code.
- Run
Copilot Recorder: Start Recording.
- Accept a Copilot inline completion.
- Check the
Copilot Recorder output channel.
- Stop recording when done.
| |