[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Collapse]CodeRush
  System Requirements
  Improve Performance
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]How To
 [Expand]Coding Assistance
 [Collapse]Navigation and Search Tools
   Code Places
   Search for a Code Symbol
   Navigate Through Files
  [Expand]Navigate To
   Navigate and Search in Compiled Code
   Navigate to Symbol Declaration
   Navigate to XAML Element
   Structural Navigation
   Find References
   Markers and Bookmarks
 [Expand]Static Code Analysis
 [Expand]Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Expand]Unit Testing Assistance
 [Expand]Decompiling Tools
 [Expand]Configuration Options
 [Expand]Extensibility
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Code Places

This topic describes the Code Places feature. This feature helps you find your way in large code bases and explore an unfamiliar code.

Note

You can configure the Code Places feature in the Navigation | Code Places options page. See the Code Places Settings for more information.

Expanded How to Enable

Code Places is turned off by default. To enable it:

  • use the Navigation | Code Places options page;

or

  • the CodeRush Visualize toolbar.

Expanded Code Places Window

CodeRush displays type declarations (class, interfaces, delegates, enums), members of the corresponding type declarations (methods, properties, events), and regions contained in an opened cs., vb., ts. or js. file in the Code Places window. This window contains the following tabs:

  • File Places – visualizes types and members for the opened file.

  • History - displays changed code places for the opened file.

  • Global History – displays information about changed code places in all files.

  • Favorites - displays favorite code places.

Note

CodeRush stores changed code places for files while the solution is opened. You can reopen an edited file and see changed code places in History and Global History tabs.
Favorite code places are saved between sessions in the Favorites tab.

Code Places are fully synchronized with the code editor. When you change the code (add, remove or replace a member) CodeRush updates the code places list accordingly in the File Places tab.

Note

You can use Collapse All/Expand All buttons in the Code Places window to collapse or expand all the code places and the corresponding members in the code editor.

Expanded Track Your Changes

CodeRush marks changed members with the "clock" icon. You can see the "clock" icon in File Places and History tabs once you make a change in an active file.

The "clock" icon brightness helps you understand how much time has passed since you changed a code place in a file. For example, the most bright colors have the last edited members.

Expanded Navigate to Code Places

Open the File Places tab, and double-click the desired type member in the code places list. CodeRush moves the caret to the corresponding declaration and scrolls the view if necessary to show this code in the editor.

You can also navigate to a type member on a single click. Change the Navigate to the member setting to "Single click" on the Navigation | Code Places options page.

You can use the search field in each tab to find a specific member. CodeRush filters types and members as you type.

If you type uppercase characters, CodeRush searches for capitalized words within file names. Matched letters are blue.

Expanded Favorite Code Places

  • Right-click a member in the File Places tab.

  • Select Add to Favorites -> Add to new group in the invoked context menu.

  • Enter a group name in the New Favorites Group dialog and press Enter.

CodeRush marks the favorite code place with a star icon and adds the code place to the newly created favorite group in the Favorites tab.

You can also add code places to different favorites groups.

Right-click a code place in the File Places tab, and select the desired group in the Add to Favorites sub menu.

Filter Favorites

You can use the search field in the Favorites tab to find favorite code places. CodeRush filters types and members as you type.

Manage Favorites

Remove Code Place from Favorites

Right-click a code place in the File Places or Favorites tab, and select Remove from Favorites item in the invoked context menu.

Rename Group

  • Right-click a group and select Rename Group in the context menu.

  • Enter a new group name in the "Rename Favorites Group" dialog and click Enter.

Remove Group

Right-click a group name and select the Remove from Favorites item.

This action also removes all code places in a group.

Is this topic helpful?​​​​​​​