Skip to content

Import/export bookmarks as JSON #43

Description

@Wikid82

Problem

Bookmarks live only in VS Code's per-workspace `workspaceState` (`BookmarkStore`). There's no way to back them up, move them to a new machine, or share a curated bookmark set with a teammate onboarding to the same multi-repo workspace.

Proposal

Add two commands:

  • `workspace-file-bookmarks.exportBookmarks` — writes bookmarks + folders to a JSON file the user picks via `showSaveDialog`.
  • `workspace-file-bookmarks.importBookmarks` — reads a JSON file via `showOpenDialog` and merges (or replaces, with confirmation) into the current workspace's store.

Notes

Also serves as a stopgap for #cross-workspace-sync — export/import between workspaces is simpler to ship than true sync.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions