ReSharper 2016.3 Help

Structural Navigation

ReSharper allows you to use the Tab and Shift+Tab keys to quickly move the text selection to the next or previous code element without having to use the mouse or the cursor keys. So you can quickly jump to the next or previous logical piece of code.

Here are a couple of examples:

  • When editing a method call, repeatedly hitting Tab will first select all arguments (in case you want to replace all of them), then each argument will be selected in turn.
  • When editing a for statement, Tab will select the initializer statement, then the terminating condition and then the iterator statement. Shift+Tab will do the same, but in reverse.

By default, ReSharper enables structural navigation with Tab/ Shift+Tab unless your caret is not at indenting (before the first non-whitespace character). So you can still use Tab/ Shift+Tab to indent/outdent the line. If necessary, you configure the behavior of these keys on the Environment | Editor | Editor Behavior page of ReSharper options: you can either disable this altogether, or specify when the standard behavior of Tab/ Shift+Tab should be preserved.

This feature is supported in the following languages/technologies:

The instructions and examples given here address the use of the feature in C#. For details specific to other languages, see corresponding topics in the ReSharper by Language section.

Last modified: 12 October 2017

See Also