Reputation: 291
I am a newbee to Resharper and found that this tool has great potential compared to any other code analysis tool.
But I was just wondering if we can integrate a custom rule DLL into resharper just as we are able to do in fxcop (apart from customizing the inbuilt options using the radio buttons)
How I should be able to integrate a custom code (rule) that is followed in my portfolio and integrate that rule into resharper? Is there a way around?
The problem is I am unable to find anything much on internet.
Any help will be highly appreciated!
Regards,
Ashish
Upvotes: 0
Views: 335
Reputation: 10118
Yes, you can write a plugin with custom rules. See ReSharper plugin development guide for more details of how to do it. Especially pay attention to part about custom highlightings, there is an example with ElementProblemAnalyzer there.
Upvotes: 1