extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Support building extensions without point and click (support cli)

Open phromo opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Misc notes

Currently the authoring extensions docs says

To test your extension locally, you can open up the extensions view with the zed: extensions command and then click on the Install Dev Extension button. This will open a file dialog where you can locate and select the directory in which your extension resides. Zed will then build your extension and load it.

However, opening the UI and pointing and clicking for each build makes development tedious.

It would be nice if a CLI-variant of this action could be provided for testing during development.

phromo avatar Jun 22 '24 06:06 phromo

Found https://github.com/zed-industries/zed/pull/9523/ so possibly the only change needed is an update to this repo's authoring md

phromo avatar Jun 22 '24 20:06 phromo

I added extension_cli to the script/bundle_linux script and after that I have zed-extension which is what I need. I guess the TODOs here would be to add this to AUTHORING EXTENSIONS and add the extension_cli to the build bundle script (and the equivalent on Mac if it's not already distributed there).

phromo avatar Jun 24 '24 04:06 phromo