Sublime Forum

Changing Project path per OS

#1

I use Linux & Windows 7, and share the .sublime-project files using Dropbox. Is there a cleverer way of doing this? I normally just comment/uncomment the relevant project path before starting, If I ever switch between the 2.

[code]{
“folders”:

	{
		//"path": "/C/Users/chris/Dropbox/Public/Websites/foundation"
		"path": "/home/chris/Dropbox/Public/Websites/foundation"

	}
]

}[/code]

0 Likes

#2

I normally keep the project file in the project directory, and then set my project file to:

{
   "folders":
   
      {
         "path": "."
      }
   ]
}

or if I don’t want all the files, just include the relevant subdirectories using relative paths.

0 Likes

#3

Thanks :smile: I had no idea you could use it like that. Interesting, I’ll check it out and post back my results here.

0 Likes