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

Feature Request: Allow extensions to recommend or require other extensions #1411

Open
1 task done
davidcornu opened this issue Sep 13, 2024 · 0 comments
Open
1 task done
Labels
needs infrastructure Zed's extension infrastructure doesn't currently support this type of extension

Comments

@davidcornu
Copy link

Check for existing issues

  • Completed

Misc notes

Use case

I'm working on an extension to add Haml syntax highlighting (https://github.com/davidcornu/zed-haml). Given that Haml templates can embed Ruby, I've configured languages/haml/injections.scm to treat the appropriate regions as Ruby. However, this only works if you have the Ruby extension installed.

I would like to have a way to express this somewhere in the extension (perhaps in extension.toml) so that Zed could prompt users if they don't have the Ruby extension installed.

Prior art

VSCode extensions can set extensionPack or extensionDependencies as part of their manifest (https://code.visualstudio.com/api/references/extension-manifest) for this exact purpose.

@davidcornu davidcornu added the needs infrastructure Zed's extension infrastructure doesn't currently support this type of extension label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs infrastructure Zed's extension infrastructure doesn't currently support this type of extension
Projects
None yet
Development

No branches or pull requests

1 participant