Where to find bookmark configuration on disk (if saveBookmarksInProject=false) #757
ede1998
started this conversation in
Show and tell
Replies: 1 comment
-
Just noticed this similar discussion: #640 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've recently distro hopped and wanted to restore my bookmarks in the new setup. However I had some trouble finding them on disk. After searching for a while I found them in sqlite databases within the following directory:
~/.config/{VSCodium,Code - OSS}/User/workspaceStorage
(The name differs between my new and old distro, probably related to how vscode was packaged.)
There is a directory for each workspace with a separate
state.vscdb
which contains a tableItemTable
with a rowalefragnani.Bookmarks
where the bookmark configuration is located.I wrote a small script that restores my bookmarks to the individual vscode workspaces so that I don't have the same problem again in the future. (
"bookmarks.saveBookmarksInProject": true
option invscode-bookmarks
). It assumes that the workspace folders are still located in the same path as for the old distro.Feel free to adjust it to your needs:
Beta Was this translation helpful? Give feedback.
All reactions