Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to uninstall dev extension #21252

Closed
1 task done
schpet opened this issue Nov 27, 2024 · 2 comments
Closed
1 task done

Unable to uninstall dev extension #21252

schpet opened this issue Nov 27, 2024 · 2 comments
Labels
extension infrastructure Feedback for extensions APIs, creation, management, etc support User support (non-defect troubleshooting, documentation, etc)

Comments

@schpet
Copy link
Contributor

schpet commented Nov 27, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

in zed preview i'm not able to uninstall a dev extension

Environment

Zed: v0.164.0 (Zed Preview)
OS: macOS 15.0.1
Memory: 16 GiB
Architecture: aarch64

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

zed-haml.2024-11-27.at01.03.17.PM.mp4

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

Zed.log
2024-11-27T13:18:36.931663-08:00 [INFO] Language server with id 0 sent unhandled notification conversation/preconditionsNotification:
{
  "results": [
    {
      "type": "chat_enabled",
      "status": "ok"
    }
  ],
  "status": "ok"
}

after clicking uninstall:

2024-11-27T13:18:36.931663-08:00 [INFO] Language server with id 0 sent unhandled notification conversation/preconditionsNotification:
{
  "results": [
    {
      "type": "chat_enabled",
      "status": "ok"
    }
  ],
  "status": "ok"
}
2024-11-27T13:18:45.576137-08:00 [INFO] rebuilt extension index in 19.392333ms

@notpeter
Copy link
Member

notpeter commented Dec 4, 2024

You can manually clean up dev extensions like so:

cd ~/Library/Application\ Support/Zed/extensions
rm -rf {installed,work}/haml

Let me know if that doesn't work.

@notpeter notpeter closed this as completed Dec 4, 2024
@notpeter notpeter added extension infrastructure Feedback for extensions APIs, creation, management, etc support User support (non-defect troubleshooting, documentation, etc) and removed bug [core label] triage labels Dec 4, 2024
@schpet
Copy link
Contributor Author

schpet commented Dec 4, 2024

@notpeter thanks for the tip 🙏🏻

just fyi in addition to those steps, i had to remove the key manually from

~/Library/Application Support/Zed/extensions/index.json

otherwise it would re-create the deleted ~/Library/Application Support/Zed/extensions/installed/zed-haml directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension infrastructure Feedback for extensions APIs, creation, management, etc support User support (non-defect troubleshooting, documentation, etc)
Projects
None yet
Development

No branches or pull requests

2 participants