Posts Tagged ‘References’

The References tool window also known as Find All References

October 12th, 2012 2 comments

The References tool window is designed to search, navigate and review the identifier references in the entire solution. This is what it looks like:

CodeRush References Tool Window

Read more…

How to add assembly and project references to a specific project using DXCore

April 19th, 2012 Comments off

To add an assembly reference, you first require a reference to the target project. To get one, you can use the Source Model DXCore service, for example:

ProjectElement projectElement = CodeRush.Source.ActiveProject;

Read more…

Highlighting an identifier and its references using CodeRush

August 29th, 2011 Comments off

CodeRush has the Highlighting All References feature, based on the Tab to Next Reference feature, with the difference that you do not actually navigate between references. The feature simply highlights the current identifier and all its references. The default shortcut to apply the reference highlighting is Ctrl+Alt+U. Once performed on an identifier, you will see the identifier and its references highlighted in pink:

CodeRush Highlight All References preview

Read more…

How to implement the Sync Edit feature from Delphi IDE inside Visual Studio IDE using DXCore

June 22nd, 2011 Comments off

According to the Embarcadero’s docwiki:

Sync Edit mode in Delphi allows you to change all occurrences of an identifier when you change one instance of that identifier. When you enter Sync Edit mode, you can tab to each highlighted identifier in your current Code Editor window.

The difference of the Sync Edit feature in Delphi from the usual Rename refactoring from Refactor! (for example) is that a declaration of an identifier may not exist. In this case the Rename is simple not available.

Read more…

DXCore Components – SearcherProvider

June 22nd, 2011 Comments off

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.

Read more…