DXCore Components – SearcherProvider
The SearcherProvider DXCore component returns a custom searcher that is used for renaming in the Rename refactoring, or inside the source code navigation features, such as Tab to Next Reference.
The SearcherProvider DXCore component returns a custom searcher that is used for renaming in the Rename refactoring, or inside the source code navigation features, such as Tab to Next Reference.
The Tab to Next Reference feature is the simplest and one of the most powerful navigation features of CodeRush. It allows you immediately see all references and navigate among them with ease. As the name says, the single Tab shortcut is used to navigate to the next reference of an identifier or a type reference under the editor caret. Hitting the Tab key again will move you to the next reference cyclically, in other words, you can tab to the next reference over and over again, even if you come back to the first reference where you started.
CodeRush Unit Test Runner has a set of predefined shortcuts useful for running and debugging unit test cases inside Visual Studio. All shortcuts are easy to remember: they start from a general Ctrl+T keystroke (where T means Testing) followed by a second key which specifies the operation, for example:
The CodeRush Code Issues tool window shows a summary of code issues found inside the source code within an entire solution. It is intended to help you overview, analyze, navigate and fix issues such as errors, warnings, hints and dead code:
The Searchers DXCore service provides access to the extension points (also known as Search Providers) to the Rename refactoring and Coderush Navigation features such as Tab to Next Reference.
The Contract DXCore service provides access to the registered contract providers used in the Add Contract code provider. It has only three properties:
Property name | Description |
AvailableContractProviders | Gets an IEnumerable<ContractProvider> instance of all available contract providers in the current context. |
ContractProviders | Gets an IEnumerable<ContractProvider> instance of all registered contract providers. |
Providers | Gets an IEnumerable<ContentProvider> instance of all registered contract providers. |
IDE Tools User Guide supports static and dynamic content. The static text is stored inside the “*.htm” files, and the pictures are stored in the independent files in the appropriate format (gif, jpeg, png, etc). The static content can be manually edited right inside of the User Guide. There are also two DXCore controls useful for population dynamic content. These controls are the Tutorial Page Provider and Tutorial Content Provider. In this article, we’ll add some static content to the built-in CodeRush Documentation shown inside User Guide, and provide some dynamic content using the Tutorial Content Provider component.
The Tutorial Content Provider DXCore component returns a section of an HTML code for display in the CodeRush User Guide. Many sections of the user guide are dynamically generated, so you can extend it with any content according to your preference. Here’s a preview of the User Guide: