Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - Bookmarks not tied to workspace #727

Closed
huehnerlady opened this issue Jun 10, 2024 · 2 comments
Closed

[FEATURE] - Bookmarks not tied to workspace #727

huehnerlady opened this issue Jun 10, 2024 · 2 comments

Comments

@huehnerlady
Copy link

I have bookmarks eg. to my .zshrc or other central files to quickly adapt them when needed.
Currently I have to add them to every new workspace.

I would love to have the possibility to add specific bookmarks for all workspaces

@alefragnani
Copy link
Owner

Hi @huehnerlady ,

Bookmarks are saved per session, so, if you open the same file in different sessions (workspace) the extension will handle them as different bookmarks. That's the reason why you need to add those central files on each workspace. Also, bookmarks are accessible only if the folder containing that file is opened, even on a multi-root workspace.

I think #287 may fit your needs, as the bookmarks wouldn't be saved per session anymore, so whenever you have the file available on the workspace, the bookmark will be available as well.

Otherwise, if all your central files are stored in the same folder, currently, as the extension works, you could try combining two concepts:

  1. Define the saveBookmarksInProject setting as true, in order to make the bookmarks to be stored within the folder
  2. Start using mult-root workspaces (https://code.visualstudio.com/docs/editor/multi-root-workspaces), and add the central folder on every multi-root workspace.
    But this would depend on your opennes to adopt multi-root workspaces and it's peculiarites.

Hope this helps

@huehnerlady
Copy link
Author

I see and I agree that would fix my issue, thanks :)

@huehnerlady huehnerlady closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants