zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.53k stars 3.03k forks source link

Can't install extensions #14386

Open FallBackITA27 opened 3 months ago

FallBackITA27 commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Read title. This is basically a duplicate of https://github.com/zed-industries/zed/issues/10330, but the logs are different

Environment

Fedora 40.

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

2024-07-13T09:52:20+02:00 [INFO] installing extension html latest version
2024-07-13T09:52:26+02:00 [WARN] request completed with error: request or operation took longer than the configured timeout time
2024-07-13T09:52:26+02:00 [ERROR] error downloading extension: request or operation took longer than the configured timeout time
jaeyson commented 3 months ago

one workaround to install extension:

Finding the extension link

an example link: https://api.zed.dev/extensions/<EXTENSION_ID>/download

where to get EXTENSION_ID?

  1. go to extensions
  2. find the extension you want to install
  3. on the right side you can see its button "Install" and the "Github icon" Screenshot from 2024-07-12 17-58-33
  4. click the Github icon so it'll go to the github page
  5. open the extension.toml
  6. look for the id, in this example:
    id = "macos-classic"   <--- this ID
    name = "macOS Classic Theme"
    description = "A macOS native style theme, let it same like native app in macOS."
    version = "0.0.8"
    schema_version = 1
    authors = ["Jason Lee <huacnlee@gmail.com>"]
    repository = "https://github.com/huacnlee/zed-theme-macos-classic"

so the link will be: https://api.zed.dev/extensions/macos-classic/download

Download the extension using a disposable browser or another way

You can use vpn or any as long as you can download the said link

OR

Visit this site: https://sqrx.com, then click personal. In this step you can use e.g. Brave or Chrome (I think Firefox not supported on this site). From there you can download the link

Where to save the extension after downloading it

Then open Zed, check if installed. Lmk if this works.

FallBackITA27 commented 3 months ago

Thanks, even though I had preceded you. It does work.