dotnet/roslyn

Emphasize members declared in current type above members declared in base types

Aperta

#42.676 aperta il 22 mar 2020

 (6 commenti) (0 reazioni) (1 assegnatario)C# (4257 fork)batch import
Area-IDEIntelliSense-Completionhelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

ReSharper shows immediate members in bold. I'm not sure that's my favorite way to style it, but it is an effective way to know what's important beyond the top 5 members starred by IntelliCode. A great example of this is to dot off a bunch of Roslyn syntax classes and see how easy it is to scroll through and identify every new member that is available versus the glut of members and extension methods inherited from SyntaxNode.

Maybe "immediate" (non-base) members could be normal and base members could be a light font weight or very slightly faded?

A filter toggle could be an alternative, though I'm not sure I'd prefer that.

ReSharper: I know exactly what this type has to offer

image

Visual Studio: I'm going to have to peer at the whole list while scrolling through and comparing against my memory of the base type

image

Guida contributor