[Feature Request] IntelliSense completion for unimported types and extension methods
Would it be possible to add IntelliSense support for type names and extension methods that are not imported? Would love to see this feature added.
Thanks!
Chris
Would it be possible to add IntelliSense support for type names and extension methods that are not imported? Would love to see this feature added.
Thanks!
Chris
Comments
Doesn't LINQPad already do this?
Hi Joe,
For extensions defined in the linqpad script yes, but for external libraries it does not. I specifically run into this when adding services to a ServiceCollection.
Here is the PR for Roslyn that added support for this in Visual Studio:
https://github.com/dotnet/roslyn/pull/39126
For example:
However if I type the whole extension method name, which I have to know or lookup, it shows up as an add using code fix.
I see. I'll look at what's involved.