简体   繁体   中英

Show public c# property description on hover in VS2012

When you hover over a property in VS it shows the datatype and the origin/name. I would like it to show a description.

///<summary> only works in the intellisense when you browse your properties.

The ComponentModel.Description data attribute only works in the intergrated VS property window (IDE thing or what ever).

Is there a 3rd option to get to show it on mouseover?

在此处输入图片说明

If not, is there maybe a setting in ReSharper that does the trick?

您可以尝试ReSharper > Options... > Code Inspection > Enable code analysis ONReSharper > Options... > Code Inspection > Enable code analysis ON Color Identifierts ON ,这会将VS工具提示替换为R#工具提示...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM