[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)

Markers and Bookmarks

CodeRush allows you to navigate to the important places in your code using Markers and Bookmarks. Bookmarks persistently mark essential parts of your code so that you can return to them at any time. Markers are used to save the current position before navigating away, and allows you to move the caret back to the saved position.

Expanded Bookmarks

To drop or remove a bookmark, use the Ctrl + Left Alt + 1, Ctrl + Left Alt + 2, ... , Ctrl + Left Alt + 6 shortcuts. Bookmarks persist after closing the solution.

You can use the Left Alt + 1, Left Alt + 2, ... , Left Alt + 6 shortcuts to navigate to a corresponding bookmark.

Note

  • The number of bookmarks in a solution is unlimited. You can use the Ctrl + Num+ to drop a sequential bookmark and Ctrl + Num- to remove the bookmark with the highest number.
  • Locator Beacons can be turned on or off on the Editor | All Languages | Markers options page.

Expanded Markers

Note

To enable this feature, use the Editor | All Languages | Markers options page.

A marker is a temporary bookmark that can be dropped automatically when a template is expanded, refactoring is executed, and optionally, before navigating away. You can also drop a marker manually using the Left Alt + Home shortcut. There are three ways to navigate to the last marker:

  • Collect the marker — move the cursor to a marker and remove it. Use the Alt + End shortcut for this. If several markers are dropped, they are collected sequentially starting with the most recent.
  • Collect and Paste — collect the marker and paste clipboard contents in its place. Use the Shift + Esc shortcut.
  • Swap the marker — drop the marker at the current location and collect another marker. Use the Alt + Shift + Home shortcut.
Tip

You can also use the Esc key to collect markers if you enabled it in Setup Wizard. If not, open the CodeRush | Shortcuts window, find the MarkerCollect command in Navigation | Markers directory and enable the Esc shortcut bound to it.

Expanded Show animation

Note

You can clear all unwanted markers simultaneously using the CodeRush | Navigate | Clear All Markers menu item.

Expanded Selection Markers

Note

To enable this feature, use the Editor | All Languages | Markers options page.

Selection Markers are similar to a Marker with the only difference being that a — Selection Marker is placed on a selection so that you can restore it.

Expanded Show animation

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