Extension name
vscode-recents
Description
The VS Code Recents extension is currently showing an empty list for me, although VS Code itself still shows recent projects correctly.
I am not completely sure this is the root cause, but from local debugging it looks like this may be related to recent VS Code storage changes.
What I checked:
[EXTENSION] "Worker exited with code 1"
- Querying the old VS Code state DB returns no row:
sqlite3 ~/.config/Code/User/globalStorage/state.vscdb \
"select value from ItemTable where key = 'history.recentlyOpenedPathsList';"
- Querying the new shared storage DB does return my recent projects:
sqlite3 ~/.vscode-shared/sharedStorage/state.vscdb \
"select value from ItemTable where key = 'history.recentlyOpenedPathsList';" | jq .
This seems similar to issues/fixes in other projects after VS Code 1.118 moved recently opened history to shared application storage:
Possible fix, if this diagnosis is correct: for recent VS Code versions, read from ~/.vscode-shared/sharedStorage/state.vscdb first, then fall back to the legacy ~/.config/Code/User/globalStorage/state.vscdb.
Steps to reproduce
- Use VS Code 1.118+ with some recent projects visible in VS Code.
- Install/open the Vicinae VS Code Recents extension.
- Open the Recents command/view.
Expected behavior
The extension lists the same recent projects that VS Code shows.
Actual behavior
The Recents view is empty.
Vicinae version
v0.20.15 (commit a0b875caf)
Extension name
vscode-recents
Description
The VS Code Recents extension is currently showing an empty list for me, although VS Code itself still shows recent projects correctly.
I am not completely sure this is the root cause, but from local debugging it looks like this may be related to recent VS Code storage changes.
What I checked:
This seems similar to issues/fixes in other projects after VS Code 1.118 moved recently opened history to shared application storage:
Possible fix, if this diagnosis is correct: for recent VS Code versions, read from
~/.vscode-shared/sharedStorage/state.vscdbfirst, then fall back to the legacy~/.config/Code/User/globalStorage/state.vscdb.Steps to reproduce
Expected behavior
The extension lists the same recent projects that VS Code shows.
Actual behavior
The Recents view is empty.
Vicinae version
v0.20.15 (commit a0b875caf)