Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>restore last known cursor positionNew to Visual Studio Code? Get it now.
restore last known cursor position

restore last known cursor position

douwe2

|
51 installs
| (0) | Free
Restores last cursor position upon opening file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

restoreLastKnownCursorPosition README

While editing it keeps track of the lastest cursor position in your document. When you later open the document that cursor position will be restored. This primarly meant if you use code as a single document editor (ie notepad or nedit) When you press a mouse button in a code texteditor window the edito cursor is set to where you the mouse pointer was, in that case press ctrl+al+c to restore the cursor position to the cursor position the cursor was at when the document was previously opened.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft