Skip to content

vscode-recents: Performance overhaul, filtering, and multi-flavour support in actions submenu#178

Open
dagimg-dot wants to merge 4 commits intovicinaehq:mainfrom
dagimg-dot:refactor/vscode-recents
Open

vscode-recents: Performance overhaul, filtering, and multi-flavour support in actions submenu#178
dagimg-dot wants to merge 4 commits intovicinaehq:mainfrom
dagimg-dot:refactor/vscode-recents

Conversation

@dagimg-dot
Copy link
Contributor

Summary

Major refactor of the vscode-recents extension with significant performance improvements, new filtering capabilities, multi-editor support in action submenu, and UX enhancements.

What's Changed

Performance

  • Replaced sql.js with sqlite3 CLI – Eliminates WASM load and in-memory parsing. For large state.vscdb files (e.g. 900MB+), load time drops from ~4–5 seconds to near-instant.
  • Result caching – Projects list is cached and invalidated when state.vscdb is modified.

New Features

  • Project type filter – Search bar dropdown to filter by All, Folders, Workspaces, or Files.
  • Antigravity support – Added as a VSCode flavour alongside Code, Cursor, VSCodium, and Insiders.
  • Open in any flavour – "Open in..." submenu lets you open a project in any supported editor without changing the default preference.

UX Improvements

  • Shortcut tweak – "Show in File Manager" shortcut changed from Shift+Enter to Option+Enter to avoid confusion with open actions.
  • Node import protocol – Uses node: prefix for built-in imports (Biome compliance).

Requirements

  • sqlite3 – Must be installed on the system (typically present on Linux/macOS; apt install sqlite3 or brew install sqlite3 if needed).

Breaking Changes

  • Dropped sql.js – No longer bundled; relies on system sqlite3. Extensions on systems without sqlite3 will fail with a clear error and install instructions.

@dagimg-dot dagimg-dot changed the title VSCode Recents: Performance overhaul, filtering, and multi-flavour support in actions submenu vscode-recents: Performance overhaul, filtering, and multi-flavour support in actions submenu Mar 5, 2026
@ShyAssassin
Copy link
Contributor

ShyAssassin commented Mar 6, 2026

Personally i am against needing to install extra packages for an extension to work, I think instead of out right replacing sql.js a new setting should be introduced to switch between which "backend" is used

@dagimg-dot
Copy link
Contributor Author

Personally i am against needing to install extra packages for an extension to work, I think instead of out right replacing sql.js a new setting should be introduced to switch between which "backend" should be used

Yeah that is better 👍

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

Successfully merging this pull request may close these issues.

2 participants