Codist icon indicating copy to clipboard operation
Codist copied to clipboard

Suggestion: Superquick Info Tooltips should display aliased type names in member signatures

Open fitdev opened this issue 1 year ago • 1 comments

Sometimes it is helpful to know that the member (method) over which user is hovering is using a particular alias of a type in its signature. But currently Super Quick Info always displays the actual type's name, even though int the member signature an alias is used instead.

So, for example:

global using DateUtc = System.DateTime;

class Foo {

  void DoSomethingWithUtcDate(DateUtc date) { } // <--

}

When hovering over DoSomethingWithUtcDate member either at the call or declaration site, SuperQuick Info would display DateTime as the type of date argument. It would be nice if instead it would display: DateUtc (DateTime) or something similar, to reflect the fact that an aliased type name was used in the signature.

fitdev avatar Jun 30 '24 09:06 fitdev

VS does that. I will find a way to implement it.

wmjordan avatar Jul 08 '24 09:07 wmjordan