Skip to content

Add Recent Files and Recent Locations quick-pick popups - #4211

Open
pieroviano wants to merge 1 commit into
icsharpcode:masterfrom
pieroviano:nav-recent-files-locations
Open

pieroviano wants to merge 1 commit into
icsharpcode:masterfrom
pieroviano:nav-recent-files-locations

Conversation

@pieroviano

Copy link
Copy Markdown

Back/Forward only walks history linearly. These two searchable popups jump straight to recently visited places:

  • Recent Files (Navigate > Recent Files..., Ctrl+Comma): recently viewed tree nodes, most recent first, without duplicates.
  • Recent Locations (Navigate > Recent Locations..., Ctrl+Shift+Comma): caret positions you navigated away from, each with node:line:column and a preview of the code line. Choosing one re-opens the node (in its original pinned tab if still open) and restores caret and scroll position.

Try it: open a few types, move the caret, navigate elsewhere, press Ctrl+Comma or Ctrl+Shift+Comma, type to filter, then press Enter.

Split out of #4199 (one feature per PR, as requested there).

Screenshots

5-recent-files-popup 5-recent-locations-popup

Back/Forward only walks history linearly, so returning to something seen a
few navigations ago means stepping through everything in between. The two
searchable popups (Ctrl+Comma, Ctrl+Shift+Comma) jump straight to a recently
viewed node or to a recently left caret position, restoring caret and scroll.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant