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

Code Lens | Addon-provided components #399

Open
evoactivity opened this issue Feb 28, 2024 · 4 comments
Open

Code Lens | Addon-provided components #399

evoactivity opened this issue Feb 28, 2024 · 4 comments

Comments

@evoactivity
Copy link
Member

evoactivity commented Feb 28, 2024

A code lens that displays which addon a certain component/helper/modifier invocation comes from.


This came from @locks, moving this to here for tracking.

@lifeart
Copy link
Contributor

lifeart commented Feb 28, 2024

@evoactivity we already have it, if I understand request correctly.
image
EMBER FILE USAGES

@evoactivity
Copy link
Member Author

I think the request is to show which addon a particular component is from. Useful for classic hbs files.

So for example if someone was using the <Marquee></Marquee> component from https://github.com/evoactivity/ember-fast-marquee/ there would be some way to see it is being used from ember-fast-marquee.

@lifeart
Copy link
Contributor

lifeart commented Feb 28, 2024

Go-to definition should work for this case, not sure why extra functionality may be needed (practically).
One possible improvement - show addon name in autocomplete metadata.

@evoactivity
Copy link
Member Author

If it already exists that's fine, I just spotted this in a project board in the repo @locks had set up last year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants