python icon indicating copy to clipboard operation
python copied to clipboard

Add a plugin to open Zed Workspaces

Open HarshNarayanJha opened this issue 4 months ago • 1 comments

This Python plugin lets you browse and open your Zed Editor Workspaces at the speed of thought!

Repo: https://github.com/HarshNarayanJha/albert_zed_workspaces

Technical Description

There is the database file at ~/.local/share/zed/db/0-stable/db.sqlite. I just read and parse it and display list items for each of them, and open it up using whatever binary found (zed, zeditor, etc)

There are still issues with this, like I don't know the database path on MacOS yet (searching for that), and a the local_path is actually a binary object (don't know why), so some workspaces miss out right now. I will fix them

Corresponding Discussion: https://github.com/zed-industries/zed/discussions/18895

HarshNarayanJha avatar Oct 09 '24 12:10 HarshNarayanJha