Home Download Buy Blog Forum Support

[ST3] sublime-project file won't save if folder path is "/"

[ST3] sublime-project file won't save if folder path is "/"

Postby LPGhatguy on Thu Mar 14, 2013 3:09 am

Hi!

I have a longstanding habit of saving my .sublime-project files in the root of the actual project, which may or may not be correct. Because I code on multiple machines and sync them with GitHub, I like to have my path be relative to the project file, so usually my project folder in the sublime-project file will have "path" set to "/"

With ST3 Build 3021 on Windows x64, the "close project" field is grayed out if I have the 'path' field set to "/". Setting the field to an empty string ("") prevents the folder from showing up in the folder list, but the project does save.

For reference, my sublime-project file is the following:

{
"folders":
[
{
"file_exclude_patterns":
[
"*.sublime-*"
],
"folder_exclude_patterns":
[
".build"
],
"path": "/"
}
]
}

Any suggestions?
LPGhatguy
 
Posts: 4
Joined: Thu Mar 14, 2013 3:01 am

Re: [ST3] sublime-project file won't save if folder path is "/"

Postby jps on Thu Mar 14, 2013 4:34 am

For a relative folder path, you'll have more luck with '.' rather than '/'
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: [ST3] sublime-project file won't save if folder path is "/"

Postby LPGhatguy on Fri Mar 15, 2013 12:31 am

"." for the path is replaced by an absolute directory when the project is reloaded.

Previous builds of ST3 and ST2 (3012 particularly) didn't complain so much about the absolute path.

EDIT: This issue is still not resolved and no new builds have been released since. Any other suggestions?
LPGhatguy
 
Posts: 4
Joined: Thu Mar 14, 2013 3:01 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 18 guests

cron