Skip to content

Is it possible to sync bookmarks through Git repository? #484

Answered by alefragnani
nutnutwin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nutnutwin ,

If you need to store your bookmarks with your repository, you can define the bookmarks.saveBookmarksInProject setting as true. 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:

  1. You must set bookmarks.saveBookmarksInProject to true on the other devices as well.
  2. You must 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…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nutnutwin
Comment options

Answer selected by nutnutwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants