What Was I Doing?Never lose your train of thought when returning to code Features • Installation • Usage • Configuration • Contributing 📖 AboutWhat Was I Doing? is a VS Code extension that automatically tracks your work context and helps you resume exactly where you left off after breaks. Perfect for developers who switch between tasks, take coffee breaks, or need to context-switch frequently. ✨ Features
🚀 InstallationFrom VS Code MarketplaceMethod 1: VS Code UI (Recommended)
Method 2: Command Line
Method 3: Direct Link→ Install from VS Code Marketplace 💡 UsageQuick Start
Available CommandsOpen the Command Palette with
Status Bar IntegrationLook for the clock icon (🕒) in your status bar:
⚙️ ConfigurationAccess settings via 📋 All Configuration Options⏲️
|
| Scenario | How It Helps |
|---|---|
| ☕ Coffee Breaks | Return from a 15-minute break and instantly recall what you were coding |
| 🔀 Context Switching | Jump between multiple projects without losing your place |
| 🌙 End of Day | Close VS Code at 5pm, reopen at 9am, pick up exactly where you left off |
| 📞 Unexpected Meetings | Get pulled into a meeting? Resume your work seamlessly afterward |
| 🐛 Debugging Sessions | Navigate through different files and functions while maintaining context |
| 📚 Code Reviews | Switch between reviewing PRs and your own work effortlessly |
| 🎯 Focus Sessions | Take breaks between Pomodoro sessions without losing momentum |
🔒 Privacy & Security
|
✅ 100% Local Storage |
All data stored locally in VS Code's workspace state |
|
✅ No External Servers |
Zero network requests - your code stays private |
|
✅ User Control |
Clear history anytime with one command |
|
✅ Open Source |
Fully auditable code on GitHub |
❓ FAQ
Does this extension slow down VS Code?
No! The extension uses efficient event listeners and only activates after VS Code finishes starting up. It has minimal performance impact.
Will it track files in node_modules or .git?
No. Common directories like node_modules, .git, dist, and build are excluded by default. You can customize exclusions in settings.
Can I use this across multiple workspaces?
Yes! Each workspace maintains its own separate history, so contexts don't mix between projects.
What happens if I don't want the auto-popup?
You can disable it in settings with "whatWasIDoing.autoShowResumePopup": false. You can still view history manually via the command palette or status bar.
Does it work with all programming languages?
Yes! Activity tracking works with all languages. Function name detection works best with JavaScript/TypeScript, Python, Java, C++, and other common languages.
🛠️ Development
Building from Source
git clone https://github.com/vansh-121/What-Was-I-Doing-Extension
cd What-Was-I-Doing-Extension
npm install
npm run compile
Testing
Press F5 in VS Code to launch Extension Development Host.
📋 Requirements
| Requirement | Version |
|---|---|
| VS Code | ≥ 1.106.0 |
| OS | Windows, macOS, Linux |
🐛 Known Issues & Limitations
| Issue | Workaround |
|---|---|
| Symbol detection may not work for all languages | Works best with JS/TS, Python, Java, C++ |
| Very large files (>1MB) may have slower extraction | Excluded by default in most cases |
| Function detection in complex nested structures | Still captures file and line number |
Found a bug? Report it here 🐛
📊 Release Notes
See CHANGELOG.md for detailed release notes.
Latest Version: 1.0.1
- ✨ Professional extension icon
- 📖 Enhanced documentation
- 🔄 Automatic activity tracking
- ⏰ Smart idle detection
- 🎯 Instant resume popup
- 📋 Work session history
- 🚫 Duplicate context prevention
🤝 Contributing
Contributions, issues, and feature requests are welcome!
Development
# Clone the repository
git clone https://github.com/vansh-121/What-Was-I-Doing-Extension.git
cd What-Was-I-Doing-Extension
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Run in development mode
# Press F5 in VS Code to launch Extension Development Host
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
💬 Support & Feedback
If you find this extension helpful, please consider:
⭐ Starring the repo on GitHub
⭐ Rating it on the VS Code Marketplace
🐦 Sharing it with your developer friends
Made with ❤️ by Vansh Sethi