Let’s assume that we need to highlight all local variables with incorrect names using CodeRush Code Issues technology. For example, the name is incorrect if it starts from an upper case letter instead of a lower case letter. Follow these steps to get the IssueProvider component working:
- Create a new DXCore plug-in if you haven’t done it yet
- Drop the IssueProvider control on the plug-in designer surface
- Fill the ProviderName property of the IssueProvider
- Fill the Description property of the IssueProvider if needed
Read more…
The IssueProvider component represents a particular code issue check provider, which verifies the source code. This component is a part of the Code Issues Analysis Engine from the CodeRush. The newly created provider will be automatically registered once DXCore/CodeRush is loaded. You should be able to see it appear on the Editor | Code Analysis | Catalog options page in the Options Dialog.
Read more…
CodeRush Pro integrates with Visual Studio to automate common code creation tasks, and to simplify code investigation. It clearly shows a code structure, and creates typical code blocks with a minimum of effort. You can create new code blocks with only a few keystrokes, or with a few clicks.
Read more…