- Open this project in VS Code
- Press
F5or go to Run > Start Debugging - A new VS Code window will open with the extension loaded
- Test the features:
- Look for the clock icon (⏰) in the status bar
- Click it to see session details
- Edit files and observe the session timer
Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and try:
Copilot Handoff: Show Session InfoCopilot Handoff: Export Chat ContextCopilot Handoff: Reset Session TimerCopilot Handoff: Toggle Tracking
- Go to Settings and set
copilot-handoff.sessionThresholdMinutesto 1 - Wait 1-2 minutes
- You should see a notification reminder
- Test different notification frequencies:
once- Shows once per sessionperiodic- Shows repeatedlynever- No notifications
- Run
Copilot Handoff: Export Chat Context - Try all three export options:
- Copy to Clipboard
- Save to File
- Create Handoff Document
Once packaged (requires Node 20+):
-
Package the extension:
npm run package
-
Install the .vsix file:
- Open VS Code
- Go to Extensions view (
Ctrl+Shift+X) - Click
...menu > Install from VSIX - Select
copilot-handoff-0.1.0.vsix
Test all configuration options in VS Code Settings:
{
"copilot-handoff.sessionThresholdMinutes": 30,
"copilot-handoff.notificationFrequency": "periodic",
"copilot-handoff.periodicReminderMinutes": 10,
"copilot-handoff.autoExportContext": false,
"copilot-handoff.showStatusBar": true,
"copilot-handoff.trackingEnabled": true
}Try changing each setting and verify the extension responds correctly.
- Extension activates on VS Code startup
- Status bar item appears and shows session duration
- Status bar updates every minute
- Clicking status bar shows session info
- Session timer resets after 5 minutes of inactivity
- Session persists across VS Code restarts
- Notifications appear at threshold
- All commands work from Command Palette
- Context export creates proper markdown
- Configuration changes take effect immediately
- Extension can be enabled/disabled
- No errors in Developer Tools Console (Help > Toggle Developer Tools)
- Extension doesn't slow down VS Code startup
- No noticeable lag when editing files
- Memory usage stays reasonable (check Task Manager)
- CPU usage is minimal during idle
- Long sessions: Run for 2+ hours
- VS Code restart: Close and reopen to verify state persistence
- Multiple windows: Open multiple VS Code windows
- Disable/enable: Toggle tracking on and off
- Threshold changes: Change threshold while session is active
- Network disconnect: Test offline (extension should work fine)
If something doesn't work:
- Open Developer Tools:
Help > Toggle Developer Tools - Check the Console for errors
- Look for messages starting with "Copilot Handoff"
- Check the Output panel > Extension Host Log
When reporting issues during testing, include:
- VS Code version
- Extension version
- OS (Windows/Mac/Linux)
- Steps to reproduce
- Expected vs actual behavior
- Any error messages from Developer Tools
- Screenshots if applicable
Before publishing to marketplace, verify:
- All tests pass
- No linting errors
- README is complete and accurate
- CHANGELOG is updated
- Icon displays properly
- All commands work as documented
- Settings descriptions are clear
- No security vulnerabilities (
npm audit)