Sublime Forum

Wrong folder layout in side bar due to wrong path in worspace file

#1

When I switch from project A to project B and back to A (by double-click on “A.sublime-project”, closing A.sublime-project and double-clicking “B.sublime-project” closing it and double-click on “A.sublime-project” again) the side panel of project A shows the folder layout of project B. This is also reflected by the entry “project” in A.sublime-workspace, which first (project A open) correctly reads:
"project": "A.sublime-project" (in A.sublime-workspace)

but then, after opening project B, the line in A.sublime-workspace get’s changed to:
"project": "<path_to_project_folder_B.sublime-project" (in A.sublime-workspace)

So after switching back to A, project A shows the folder layout of project B.

In my user prefs I have the line “remember_open_files”: true, when I set it to false, the line “project”: … is not written to the file A.sublime-project and therefor the folder layout is correct but obviously the open views are not rembered anymore.

OS: Debian buster
ST3: Version 3.2.2 Build 3211
Thanks for any help!l

0 Likes

Side Bar Folder Weirdness
#2

By closing the project do you mean you have more windows open and are simply closing the project’s window, or are you exiting Sublime Text entirely? I assume you’re “double-clicking” on projects in your file browser? What does the file structure of your 2 projects look like, are they in separate directories?

0 Likes

#3

I’m closing ST entirely each time and there is always just one window open. Yes, its “double-clicking” in PCMan file manager. The project files are in 2 separate directories, they both reside in the same parent directory.

  • parent_dir
    • subdir_a
      • A.sublime-project
      • A.sublime-workspace
    • subdir_b
      • B.sublime-project
      • B.sublime-workspace
0 Likes