ContextKeeper for Visual StudioYour favorite files and contexts under your fingertips. Safely store and switch between documents sets in seconds using simple JSON files 🔥 ContextKeeper is a modern replacement for Save All Tabs extension. Switch between Git branches with automatically restored context. The context is made by:
Join the revolution and install it today! Save at least 3300 minutes/year = 55 hours = 2.3 days (15 mins x 20 days x 11 months). You need about 15 minutes to fully switch between contexts at the best possible scenario. In worst case scenarios switching to detailed context could take several hours, one of the real horror stories: "Losing this functionality interrupts my workflow beyond imagination. The opened documents represent a "bookmark" for me and I'm barely able to pick up work again without them. Every time this happens (...) I am willing to put hours into finding a solution, because the thought of losing my opened document state once more after a work session is terrifying. But this time around (...) nothing of the usual remedies helps (...) This has added another 20 Minutes and counting to my two hours put into solving this." With ContextKeeper you could safely store and switch between different programming contexts in seconds 🔥 All opened files, pinned tabs, documents positions and state (horizontal/vertical orientation, docked state and files order) are preserved in a simple JSON file 😍 No more dealing with broken .suo file again. After installing VSIX package you could access your latest Mental Snapshots by navigating to View -> Other Windows -> Mental SnapshotsBy default tool window will open next to Solution Explorer
You could create a new snapshot using Create Snapshot button and restore them quickly using few commands from right-click context menu
✨Automatic snapshot switching when changing branchesWhen switching to another git branch ContextKeeper will automatically remember current branch snapshot and save it to .contextkeeper/.git-branches folder. Also it will be added to the "Mental Snapshots" UI list at the very top with prefix: This is the same process that you could do manually before switching branches but now fully automated for your convenience 🔥. The current branch snapshot is always continuously auto-saved when you add, remove or change position of any document tab or window (with tabs). Also a git branch could be changed from CLI, Visual Studio or other third-party client and ContextKeeper will detect it auto-magically 🧙♂️ and restore snapshot for currently selected branch. Where the snapshots are stored?All snapshots are stored in the .contextkeeper folder which is created in the same folder where solution file (.sln) sits. A snapshot is saved using self explanatory JSON format. You could try changing different bits manually and later checking an impact it has during restoring process. Git worktree supportThe git worktree support, introduced in v1.3, allows even more streamlined context switching. If you sometimes clone entire repository when working on a feature I recommend checking git worktree. Long story short, working tree is like clean, cloned repository but better because:
Current limitations
Roadmap for 2022:
|