Is it possible to sync bookmarks through Git repository? #484
-
Hi, I works on several devices and sync the code using Gitlab(mostly) I cannot help but noticed that Bookmarks on DeviceA is not committed to git, thus cannot be viewed from DeviceB? I appreciate this feature(less intrusive), but wonder if it can be uploaded, optionally, to Git. Thank you very much for your time |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @nutnutwin , If you need to store your bookmarks with your repository, you can define the Just remember two things:
More details https://github.com/alefragnani/vscode-bookmarks#available-settings Hope this helps |
Beta Was this translation helpful? Give feedback.
Hi @nutnutwin ,
If you need to store your bookmarks with your repository, you can define the
bookmarks.saveBookmarksInProject
setting astrue
. Doing so, the bookmarks will be stored in.vscode/bookmarks.json
file, inside your repo, so you can simply commit the changes and push to remote. When you pull the changes on other devices, the bookmarks will be there.Just remember two things:
bookmarks.saveBookmarksInProject
totrue
on the other devices as well.pull
the changes before opening the repo in VS Code OR you must reload VS Code (Reload Window
command) after pulling, because the.vscode/bookmarks.json
file is not monitored for changes, so the extension will not r…