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

Bookmarks disappear when VS Code is reopened #562

Open
PeterMacej opened this issue Oct 24, 2022 · 1 comment
Open

Bookmarks disappear when VS Code is reopened #562

PeterMacej opened this issue Oct 24, 2022 · 1 comment

Comments

@PeterMacej
Copy link

Type: Bug

I searched all similar issues and I think mine is the same as #538.

To reproduce:

  1. Create a simple file c:\test.txt with a single line "abc". It's a standalone file, not a part of a project, folder, or workspace.
  2. Toggle a bookmark on this line. The bookmark is correctly created and works fine.
  3. Close VS Code.
  4. Open the file in VS Code. The bookmark is missing.

Expected behavior:
The bookmark should be visible in step 4.

I don't use Pretier.
I did some tests and inspected the VS Code storage with DB Browser for SQLite. After I closed VS Code, the bookmark data was still present in \Roaming\Code\User\workspaceStorage\1666599132300\state.vscdb:

bookmark data

When I re-opened the file in VS Code and then closed VS Code, the data was removed:

no bookmark data

So the problem occurs when VS Code or the file is open.

Extension version: 13.3.1
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No

@mjoe67886
Copy link

Yeah I'm getting the same issue I thought I was deleting accidentally with the clear function but I just reopened and my bookmarks are gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants