Code Places
- 2 minutes to read
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.
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.
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. or vb. 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.
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.
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.
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.
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 dynamically as you type.
If you type uppercase characters, CodeRush searches for capitalized words within file names. Matched letters are blue.