Sublime Forum

Where to save .sublime-project files?

#1

Where is best place to save .sublime-project files? Should they be saved in one location or in each project root? I am on a Mac. I have a lot of projects (100 or so) so want to setup best way. What is recommended?

0 Likes

#2

I think the best recommendation is whatever works best for you and how you work. I know that some people like to keep their projects all in a single folder to keep their projects cleaner looking while others (such as myself) prefer to keep the project file inside the project.

In my case I primarily work with code and shift across computers, so being able to use source control to check out code on a different computer and have the project update automatically if I changed it is a valuable time saver for me.

On the other hand if you’re working primarily with web projects, perhaps you have a lot of folders open in the project and there’s not a clear place to store the project, or perhaps you want to keep your folder looking like it would on the server and don’t want to “clutter” it with extra files.

0 Likes

#3

Thanks. I think I will keep in each project folder as I use Git and I can just ignore the files from the repo if needed. Thanks so much

0 Likes

#4

I suggest adding the project and workspace files to your global gitignore. They aren’t relevant to the project and just to your local environment. And in the event you do want to submit a project file, you can just do so through the ignore.

Kind of like all macs should have the ds_store in their global gitignore.

2 Likes