Home Download Buy Blog Forum Support

Changing Project path per OS

Changing Project path per OS

Postby pickledegg on Thu Apr 04, 2013 8:42 pm

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: Select all
{
   "folders":
   [
      {
         //"path": "/C/Users/chris/Dropbox/Public/Websites/foundation"
         "path": "/home/chris/Dropbox/Public/Websites/foundation"

      }
   ]
}
pickledegg
 
Posts: 5
Joined: Tue Oct 30, 2012 11:02 am

Re: Changing Project path per OS

Postby sapphirehamster on Thu Apr 04, 2013 11:07 pm

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

Code: Select all
{
   "folders":
   [
      {
         "path": "."
      }
   ]
}


or if I don't want all the files, just include the relevant subdirectories using relative paths.
sapphirehamster
 
Posts: 90
Joined: Sun Jul 01, 2012 11:19 pm

Re: Changing Project path per OS

Postby pickledegg on Mon Apr 08, 2013 8:43 am

Thanks :) I had no idea you could use it like that. Interesting, I'll check it out and post back my results here.
pickledegg
 
Posts: 5
Joined: Tue Oct 30, 2012 11:02 am


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 21 guests