Archive for the ‘Providers’ Category

Creating a new code issue and its fix for Java Script

March 6th, 2012 Comments off

The process of adding a new CodeRush code issue and a code fix provider for the code issue in the Java Script language is the same as for any other supported language. As an example, we are going to add a code issue that will highlight the “” loop with the following structure:

Read more…

DXCore standard string providers list

August 15th, 2011 Comments off

DXCore string providers are functions that return strings, and can be used to provide calculated information (e.g., date/time stamps, user names, active file name, etc) inside text expansions or DXCore plug-ins.

Read more…

DXCore Components – ContractProvider

February 8th, 2011 Comments off

The ContractProvider DXCore component is used to extend the available contracts list for the Add Contract code provider shipped with Refactor! Pro and CodeRush Xpress.

The control doesn’t exist on the Visual Studio toolbox by default. You have to manually add it by selecting the “Choose Items…” in the context menu of the Visual Studio toolbox:

Read more…

DXCore Text Commands overall list

January 28th, 2011 Comments off

Here is the list of text commands provided by the DXCore Framework.

Read more…

DXCore Components – CodeMetricProvider

December 9th, 2010 Comments off

The CodeMetricProvider component calculates and returns a code metric used in the Metrics tool window of Refactor! Pro and the Show Metrics CodeRush feature. See the “Show Metrics” post to learn more about software metrics.

Read more…

DXCore Components – IssueProvider

December 2nd, 2010 Comments off

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…

DXCore Components – ContextProvider

September 25th, 2010 Comments off

The ContextProvider component provides a new context entry for the ContextPicker component. Context is automatically registered in the DXCore when a plug-in containing the corresponding ContextProvider is loaded.

You can drop the ContextProvider onto your plug-in design surface from the “DXCore: Extensions & Providers” category of Visual Studio Toolbox:

Read more…