Closed argankur closed 2 years ago
Hi @argankur ,
The refresh button is not meant to reload the bookmarks from the file system, but only update the Side Bar, in the case something is out of sync, like file renaming and sticky issues.
The file system (bookmarks.json
and VS Code internal storage) are loaded only when the workspace is opened. So, for your use case, the only way to load your flows is using the Reload Window
command
I think another open issue (#254), would fit your scenario, because you could easily switch between sets/tags. Take a look at https://github.com/alefragnani/vscode-bookmarks/issues/254#issuecomment-914523838 for more details on how it is planned. Feel free to upvote/add comments on that.
Hope this helps
when I bookmark code for any flow in my project, I take a copy of the .vscode/bookmarks.json file and clear all bookmarks, and start bookmarking for another flow. Now if I want to again switch back to the flow1 bookmarks I would copy-paste the content of the bookmarks_flow1.json into the original .vscode/bookmarks.json file, save it and press the refresh button on the extension. But the bookmarks don't refresh. It only refreshes according to the .vscode/bookmarks.json file when I reload the vscode. Steps to reproduce
Is there any other way we can use bookmarks extension to fulfill my use case?