Kunkka is a VSCode extension to save and restore your current workspace state (open files, editor layout, cursor positions) with a simple hotkey, perfect for experimenting with risky code and quickly returning to a stable state.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Quickly Save and Restore Your VSCode Workspace State
Kunkka is a Visual Studio Code extension that allows you to save the current state of your open tabs, cursors, and content with one click and quickly restore it like a "cross" mark on a board.
Features
Save open files, including unsaved content changes
Restore open tabs in the exact order
Restore cursor positions and selections
Automatically save files after restoring
Convenient keyboard shortcuts for setting and going to a cross
Installation
Open VSCode
Go to the Marketplace or run the command Extensions: Install Extension
Search for Kunkka and install it
Reload VSCode or open a new session
Usage
Set Cross (save workspace state):
Press Ctrl+Alt+X or invoke the command Kunkka: Set Cross from the command palette
Go To Cross (restore workspace state):
Press Ctrl+Alt+Shift+Y or invoke the command Kunkka: Go To Cross
Keyboard Shortcuts
Command
Shortcut
Set Cross
Ctrl + Alt + X
Go To Cross
Ctrl + Alt + Shift + Y
FAQ
Q: What if files aren’t saved after restoring? A: The extension automatically saves files after restoring. If this doesn't work, check that the extension has write permissions for your project.
Q: Can I save multiple crosses? A: The current version supports only one cross. Multi-cross support is planned for future updates.
License
This project is licensed under the MIT License - see the LICENSE file for details.