ulex / ZenSharp

ZenSharp for ReSharper is mnemonics on steroids!
MIT License
182 stars 18 forks source link

Question: Include Namespace for Extension Methods? #43

Closed Mike-E-angelo closed 3 years ago

Mike-E-angelo commented 3 years ago

Is there a way to include namespaces for extension methods? In my case, my template creates a default assertion from FluentAssertions, but its type is not defined, so it by default it is not valid:

Types work easy and reliably enough, but I am unclear on how to do the same with an extension method. Is this possible?

ulex commented 3 years ago

ZenSharp is based on ReSharper's templates, AFAIK there is no way to import namespace for an extension method. I've found a related ticket in ReSharper's youtrack https://youtrack.jetbrains.com/issue/RSRP-330334

Mike-E-angelo commented 3 years ago

Thank you for your time and assistance, @ulex! FWIW this is easily the most used R# plugin in my world. 👍