Is there a Visual Studio Extension that shows the colors of System.Drawing.Color in the dropdown

1.1k views Asked by At

I find myself looking at the Microsoft Documentation for System.Drawing.Color quite often to see which color I'm getting from which Enum, so I was wondering if there is an Extension which can show a little box with the color next to the string values (I made this with my awesome Paint skills):

System.Drawing.Color

I found tons of Extensions that show the color in CSS or XAML on the Extension Marketplace, but none that helps with System.Drawing.Color.

Thanks for your help

2

There are 2 answers

0
Jeff On

I think that this extension has what you want: Color Picker This has a tab labeled "Available" which has these colors and their names. It can also insert the value into your code is one of several formats. enter image description here

0
Mr Qian On

Just as JonasH said, Resharper extension could realize it. And this is the only one I found to get the answer.

enter image description here

And note that Resharper is not a free extension and new users have a 30-day free usage period.

If this still doesn't satisfy you, you should suggest a feature on our DC Forum.

And when you finishing the ticket, you can share the link here and anyone who is interested in it including us will vote it.

With all of these, I think it will get more attention from Microsoft to help us deal with it more quickly.