I searched all similar issues and I think mine is the same as #538.
To reproduce:
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.
Toggle a bookmark on this line. The bookmark is correctly created and works fine.
Close VS Code.
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:
When I re-opened the file in VS Code and then closed VS Code, the data was removed:
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
Type: Bug
I searched all similar issues and I think mine is the same as #538.
To reproduce:
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:
When I re-opened the file in VS Code and then closed VS Code, the data was removed:
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