Sublime Forum

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

#1

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?

0 Likes

#2

For a relative folder path, you’ll have more luck with ‘.’ rather than ‘/’

0 Likes

#3

“.” 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?

0 Likes