Sublime Forum

Open project > files don't open in ST

#1

I’m having a terrible time trying to figure this out.

I have created several simple projects in ST. They have one or two HTML pages in a folder, one folder per project. I think I have done everything correctly to save the project. I can see the folder JSON in the .project file.

{
“folders”:

	{
		"path": "/C/Users/Daphne/Documents/sandbox"
	}
]

}
When I reopen the project file – regardless of whether ST is already open, or whether I am switching projects – the files in the project’s folder don’t open or appear in the sidebar.

This just seems so simple. Can you tell me the requirements for opening a .project file and getting the files in the folder it specifies to open?

Thank you very much for your help!

Daphne

EDIT: Well, I am disappointed at the results of posting my question here. All of the videos and tutorials about ST2 make it look so easy, and this feature just plain does not work on my Windows 7 machine. I really did want to figure it out. Also, I was researching the available support for this product by posting this simple question. Since I have received no response at all, no attempt in any way to help, I guess I really cannot recommend that my company purchase this product for our team. Too bad. I thought it had such promise.

0 Likes

#2

Did you create the .sublime-project file by hand?

I use ST on Windows 7 at work all the time. Projects are pretty straight forward. You just drag and drop folders in your sidebar and then in your menu goto Project->Save Project As.

I am not sure that you need to use the convention “/C/User/etc”, I will have to check (I only use windows at work, and I am not a work right now), but I thought “C:\User\etc” would work fine (maybe I’m wrong, I also don’t remember the differences between ST2 and ST3; I use ST3).

To open a project, you can just go to Project->Open Project, Project->Switch Project, or Project->Quick Switch Project to switch between recently used projects.

You should rarely have to open up your project file by hand (only for very specific things on occasions).

0 Likes

#3

Thanks for trying to help. This is just baffling.

I have created several projects, each with its own folder. I can see that folder in the project file markup.
No matter which method I use to open a project, all I get is a blank screen. No files are open. There is no tab. The left nav/sidebar is empty.
Sometimes I see the “switched project…” message in the status bar, briefly, but nothing opens.

So, there is no point in creating a project. Nothing happens when I “open” a project. No files appear.

I’m thinking that there might be some setting that I could change in preferences or something that would enable this feature. Any ideas?

0 Likes

#4

Try reverting to a fresh setup and see if that helps, it might be a plugin that’s causing the issue. sublimetext.com/docs/2/revert.html

0 Likes

#5

Yeah, try @subhaze’s suggestion. I really have no idea what is going on with your setup. Projects are super straight forward.

0 Likes

#6

@subhaze’s suggestion lead me to resolving the problem. I followed the linked instructions for Windows to delete my ST AppData folder, and that seems to have fixed the problem.

It’s still a mystery, though. I had reinstalled ST2 and never got so far as to get any plugins. Just created 3-4 projects with a couple of pages each, some using bootstrap or jquery, others just HTML and CSS. Nothing I did created a project that could be reopened with its folder and files. Works now. Fortunately that major reset of wiping out AppData didn’t require any recovery effort.

Thanks for your help!

0 Likes