dotnet/roslyn

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

開放

#42,676 建立於 2020年3月22日

 (6 則留言) (0 個反應) (1 位負責人)C# (4,257 個分叉)batch import
Area-IDEIntelliSense-Completionhelp wanted

倉庫指標

星標
 (20,414 顆星)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

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

貢獻者指南