sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
276 stars 14 forks source link

Automatically open repos in multiple instances/windows #1678

Open sylbru opened 1 year ago

sylbru commented 1 year ago

Problem description

I often have different projects opened in different desktop workspaces. So let’s say I have project 1 opened, in Sublime Text and Sublime Merge, in workspace 1.

Now I open another Sublime Text project in workspace 2. When I open Sublime Merge for that project, it opens the repo as a new tab in the Sublime Merge window, and therefore jumps to workspace 1. This can be quite confusing.

Preferred solution

I would love to have a setting in Sublime Merge (like "Open repositories in a new window") that makes it so that when we open a repository in Sublime Merge from the "outside" (from the CLI, from a launcher, from Sublime Text…), and Sublime Merge is already open, then the repository opens in a new Sublime Merge window (and in the current visible workspace), instead of the existing one.

Alternatives

The current workaround is to drag the tab out into its own window, but it’s a bit annoying. (I’m not sure it can be called a workaround or an alternative, since needing to do this is the main issue)