roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Show/Hide member attributes

Open vsfeedback opened this issue 5 years ago • 1 comments

This issue has been moved from a ticket on Developer Community.


Hi,

Any chance we can get the option to show/hide member attributes?
I make extensive use of DataAnnotations. The downside is that even the simplest models look as in the following screenshot. Now, just imagine the models that contain several properties.

There is already an extension to show/hide documentation comments. I'm attaching the screenshots as an example. It would be awesome if we can get something similar for the attributes.

Kind Regards,

Fati Iseni

Image:148101-loginuimodel.png

Image:148102-showcomments.png

Image:148103-hidecomments.png


Original Comments

Feedback Bot on 7/26/2020, 06:50 PM:

Thank you for taking the time to provide your suggestion.  We will do some preliminary checks to make sure we can proceed further.  We'll provide an update once the issue has been triaged by the product team.

Mads Kristensen [MSFT] on 7/27/2020, 10:06 AM:

This is now available in the free Tweaks extension

vsfeedback avatar Aug 07 '20 18:08 vsfeedback

Could we please get this feature as a global setting of at least hide/show all on a pr. file option? The ability to hide/show annotations for a given meber/property is fine, but a hide/show all feature would be really usefull. I often annotate DTO-classes and it would by really usefull to be able to hide all the annotations to get a simple view af all the properties - the annotations make it hard to read the basic properties...

PeterMadsenDLI avatar May 08 '24 08:05 PeterMadsenDLI