wmjordan / Codist

A visual studio extension which enhances syntax highlighting, quick info (tooltip), navigation bar, scrollbar, display quality, and brings smart tool bar with code refactoring to code editor.
https://marketplace.visualstudio.com/items?itemName=wmj.Codist
GNU General Public License v3.0
301 stars 26 forks source link

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

Open fitdev opened 1 month ago

fitdev commented 1 month ago

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.

wmjordan commented 1 month ago

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