Sublime Forum

One project, two windows, different paths

#1

Hi,

Is it possible to have one project that will have two different path (that part I know how to do) with each path in a different window?

Most of the time, having a project with different paths within the same window is fine, set up as such:

{
	"folders":
	[
		{
			"name": "Doc",
			"path": "/volumes/users/foo/dev/bar1"
		},
		{
			"name": "Dev",
			"path": "/volumes/users/foo/dev/bar2"
		}
	]
}

But for that one specific project, I find it easier to have a window for each path, is it possible? (at the moment I manually open the 2 windows and have a project set for each path)

0 Likes

#2

As far as I’m aware, what you want to do is not possible within the context of a project; projects in Sublime are a per-window construct, so once it’s open in a window if you make changes to the project (like removing a folder) it would modify the project file directly.

As such I think what you’re doing (or some variation thereof) is perhaps the best you can do. A plugin could make it easier to open both projects for you directly, or provide the ability to open a “sibling” project without having to manually select it.

There may already be a package that provides this sort of thing already on PackageControl; there are at least a couple of project management type plugins that may make this easier.

0 Likes