A VS Code extension that intelligently tracks your cursor movements and allows you to navigate back to previous locations, both within files and across your entire workspace.
Features
Smart Cursor Tracking: Automatically tracks cursor positions with intelligent filtering to avoid saving every minor movement
Dual History System: Separate tracking for global (cross-file) and per-file cursor positions
Configurable Thresholds: Customize minimum distances and timing between saves
Persistent History: Your cursor history is saved between VS Code sessions
Cyclic Navigation: Navigate infinitely through your history in both directions
Customizable Keybindings: All shortcuts can be customized in settings
Keybindings
Alt+Shift+P: Go back in current file history
Alt+Shift+N: Go forward in current file history
Alt+Shift+Left: Go back in global history (across all files)
Alt+Shift+Right: Go forward in global history
Alt+Shift+G: Show global cursor history
Alt+Shift+H: Show current file cursor history
Extension Settings
This extension contributes the following settings:
monoC.enableGlobalHistory: Enable/disable global cursor history tracking
monoC.enableFileHistory: Enable/disable per-file cursor history tracking
monoC.saveHistoryBackup: Save cursor history between VS Code sessions
monoC.maxGlobalHistory: Maximum positions in global history (5-100, default: 20)
monoC.maxFileHistory: Maximum positions per file (3-50, default: 10)
monoC.minLineDistance: Minimum line distance to save in file history (default: 5)
monoC.minGlobalLineDistance: Minimum line distance to save in global history (default: 10)
monoC.timeBetweenSaves: Minimum time between saves in milliseconds (default: 500)
monoC.forceLineDistance: Line distance that overrides time debouncing (default: 10)
Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension.
Release Notes
0.0.1
Initial release of monoC Cursor Position Tracker:
Smart cursor position tracking with configurable filtering
Dual history system (global and per-file)
Persistent history storage
Cyclic navigation
Fully customizable settings and keybindings
How to Use
Install the extension
Start coding - the extension automatically tracks your cursor movements
Use Alt+Shift+P/N to navigate through positions in the current file
Use Alt+Shift+Left/Right to navigate through all positions across files
Customize settings in VS Code preferences under "monoC Cursor Tracker"