matkoch / resharper-cognitivecomplexity

https://plugins.jetbrains.com/plugin/12024-cognitivecomplexity
MIT License
200 stars 7 forks source link

Generation of ComplexityIcons class #24

Closed robertcoltheart closed 3 years ago

robertcoltheart commented 3 years ago

Hi Mat,

Can you give me some pointers? How are you generating the ComplexityIcons.cs class? Is there a tool or build configuration as part of the R# SDK that lets you generate the .cs file from an .svg image?

matkoch commented 3 years ago

Do you have ReSharper at hand?

robertcoltheart commented 3 years ago

Yes, I have it installed at all times 😃

matkoch commented 3 years ago

If you start ReSharper in internal mode there is a dialog for "Themed Icons". There you can load an svg and export as compiled icon. I'm just on my phone, so let me know if you can find it :)

robertcoltheart commented 3 years ago

Amazing, found it, thanks for your help!