Skip to content

Focus existing tab when reopening same file#5

Open
bganesh wants to merge 1 commit intoJackYoung27:mainfrom
bganesh:fix-open-copies
Open

Focus existing tab when reopening same file#5
bganesh wants to merge 1 commit intoJackYoung27:mainfrom
bganesh:fix-open-copies

Conversation

@bganesh
Copy link
Copy Markdown

@bganesh bganesh commented Apr 21, 2026

  • Added a lookup for already-open markdown files before creating a new preview window/controller.
  • Normalized incoming file URLs so Finder reopen events match the stored sourceFileURL.
  • When the same file is opened again, the existing tab/window is brought to the front instead of opening a duplicate tab.

Fixes #8

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.

Focus existing tab when reopening same file

1 participant