It has been a few years since I have updated my ReSharper plugin project that was originally released three years ago. The reason for the project was that ReSharper natively converts CLR types (System.Int32) to its alias (int). StyleCop also adds this support in its ReSharper plugin. Unfortunately nothing in the marketplace provides a conversion from an alias type to its CLR type.
I always prefer the CLR types over the alias type names. This allows me to easily identify what is a C# keyword and what is a type reference.
The original 1.0 (and subsequent 1.1) version provided the ability to switch between C# alias types and their CLR type equivalents using ReSharper’s code cleanup profile support. This version adds code inspection and QuickFix support. It also adds better support for type conversions in xmldoc comments.
The code cleanup profile settings for this plugin are now found under the Neovolve category. This is the only change to the settings used for code cleanup.
ReSharper code inspection allows for plugins to notify you when your code does not match defined inspection rules. This release of the plugin adds code inspection to detect when a value type is written in a way that is not desired according to the your ReSharper settings.
The code inspection settings for this plugin can be found under the Neovolve category.
Code highlights will then notify you when your code does not match the configured rules. For example, the settings in the above screenshot identify that type alias definitions show up as a suggestion to be converted to their CLR types. This can be seen below.
ReSharper has had quick fix support for several years. This version now supports QuickFix bulbs based on the information identified by the code inspection rules. Giving focus to the suggestion will then allow for a quick fix action using Alt + Enter.
This version adds better support for type identification in xmldoc comments. Code inspection and QuickFix support also come into play here as well.
You can grab this release from the CodePlex project here.