You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, bookmarks are saved per folder. When moving to multi-root workspaces, the bookmarks should be saved per workspace and so, no matter how many folders you have added to the workspace, the bookmarks are related to the workspace itself. It means that if you open that same folder, outside the workspace where the bookmark was added, the bookmark will not be seen. And vice-versa.
The bottom line is, the bookmarks are not shared between folders and workspaces
What about saveBookmarksInProject setting
If you have saveBookmarksInProject set to true, the bookmarks should not be saved per workspace but for each folder you have added.
Warning: If you open the same folder in other VS Code instance, you may have issues caused by concurrent access.
Navigation
If you set navigateThroughAllFiles to true, you will be able to navigate thru the entire workspace, not only the folder you have focus inside a workspace. It does not matter how you define saveBookmarksInProject.
Treeview
The bookmarks should be separated/grouped by folder. It does not matter how you define saveBookmarksInProject.
The text was updated successfully, but these errors were encountered:
The only difference is related to saveBookmarksInProject setting. I don't know if this how many users are effectively using this setting. But for now, it would be disabled for multi-root workspaces. The motivation behind this new concept, is that I wouldn't need to change how bookmarks are loaded/saved, because it would look just for context.workspaceState or the .vscode\bookmarks.json file for the current workspace, instead of mergingbookmarks.json file for each root-folder in a mult-root workspace (when using saveBookmarksInProject setting as true.
Doing so, it would be easier to adapt the extension to multi-root concept.
For an initial release, I think it would work just fine.
Concept
How I think it should work (initial idea)...
Bookmarks are not shared
Today, bookmarks are saved per folder. When moving to multi-root workspaces, the bookmarks should be saved per workspace and so, no matter how many folders you have added to the workspace, the bookmarks are related to the workspace itself. It means that if you open that same folder, outside the workspace where the bookmark was added, the bookmark will not be seen. And vice-versa.
The bottom line is, the bookmarks are not shared between folders and workspaces
What about
saveBookmarksInProject
settingIf you have
saveBookmarksInProject
set totrue
, the bookmarks should not be saved per workspace but for each folder you have added.Navigation
If you set
navigateThroughAllFiles
totrue
, you will be able to navigate thru the entire workspace, not only the folder you have focus inside a workspace. It does not matter how you definesaveBookmarksInProject
.Treeview
The bookmarks should be separated/grouped by folder. It does not matter how you define
saveBookmarksInProject
.The text was updated successfully, but these errors were encountered: