Back to Devexpress

Structural Navigation

coderushforroslyn-119829-navigation-and-search-tools-structural-navigation.md

latest1.3 KB
Original Source

Structural Navigation

  • Dec 15, 2021

CodeRush can navigate within your code by logical blocks.

Commands

You can use the following commands to jump to different logical blocks inside the code tree.

CommandDescriptionShortcut
NavNextSiblingMoves the caret to the next sibling elementCtrl+Down Arrow
NavPreviousSiblingMoves the caret to the previous sibling elementCtrl+Up Arrow
NavParentMoves the caret to the parent elementCtrl+Shift+Up Arrow
NavFirstChildMoves the caret to the first child elementCtrl+Shift+Down Arrow

Enable Shortcuts

Select CodeRush\Shortcuts… from the Visual Studio menu to open the Shortcuts options page.

Open the Navigation | Structure group and check the Enabled checkbox for each shortcut.

Examples

Jump to Next/Previous Sibling Element

Jump to Parent Element