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

Allow CompletionProviders via nuget package's Analyzers #30270

Closed
kzu opened this issue Oct 2, 2018 · 4 comments · Fixed by #43278
Closed

Allow CompletionProviders via nuget package's Analyzers #30270

kzu opened this issue Oct 2, 2018 · 4 comments · Fixed by #43278
Labels
Area-IDE Concept-API This issue involves adding, removing, clarification, or modification of an API. Feature Request
Milestone

Comments

@kzu
Copy link
Contributor

kzu commented Oct 2, 2018

Currently, you need a VS extension to provide one. Since a completion provider might provide completion to an accompanying library, it might be more useful to ship it together with the library via a nuget package, just like the analyzers and code fixes can.

See #15974 (comment)

@sharwell sharwell added Area-IDE Concept-API This issue involves adding, removing, clarification, or modification of an API. Feature Request labels Oct 2, 2018
@jinujoseph jinujoseph added this to the Unknown milestone Oct 3, 2018
@kzu
Copy link
Contributor Author

kzu commented Apr 1, 2019

I'd love to see this implemented, since it would also make it for a compelling way to extend the IDE experience in a cross platform way (VS and VSfM).

Thanks!

@kzu
Copy link
Contributor Author

kzu commented Apr 1, 2019

Maybe if I got some pointers, I could give it a shot at implementing it if there's an agreement that it would be useful?

@kzu
Copy link
Contributor Author

kzu commented Jul 20, 2019

Circling back on this, are there any tips you could share so I can try to implement this? Or do you foresee this being a complex and risky feature? I'd love to learn more and see if I can help.

Thanks!

@SamPruden
Copy link

SamPruden commented Jul 20, 2019

I'd love this, but I'm not sure if my specific use case is covered by normal completion providers. I'd like to be able to filter out and hide some completion items according to context. Sometimes I know that a member should never be used in a particular place. I can make an analyzer mark it as an error, but I would prefer to also tell the IDE not to suggest it. For this, I would need access to the ISymbol for the item being suggested.

I can also see libraries offering context aware autocompletion templates as a very nice thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Concept-API This issue involves adding, removing, clarification, or modification of an API. Feature Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants