ReSharper Web Help

ReSharper | Options | Environment | Editor

This page of ReSharper options allows you to adjust ReSharper's features in the code editor.

Item Description
Highlight current line

Select this check box to allow the current line to be highlighted as you work with the code.

You can set the color of the highlight in the Visual Studio options, by choosing Tools | Options | Environment | Fonts and Colors and adjusting options for the ReSharper Current Line display item.

 Note

A change to this option takes effect in an open document after you reload this document.

Auto-format on semicolon If this check box is selected, a statement is formatted when you enter a semicolon.

 Tip

You can specify formatting settings in the following pages of ReSharper options:
Code Editing | General Formatter Style and Code Editing | [language] | Formatting Style.

Auto-format on closing brace If this check box is selected, a block of code is formatted when you enter its closing brace.
Use CamelHumps Enables CamelHumps for the Extend/Shrink Selection (Ctrl+W / Ctrl+Shift+W) and Next/Previous Word (Ctrl+Left / Ctrl+Right) commands.
If this check box is selected, the words that compose CamelHumped names are taken into account when you use these commands.

 Note

This check box does not have any impact on how CamelHumps works in Code Completion or in Navigation and Search.

Braces and Parentheses
Highlight matching delimiters When this check box is selected, any closing delimiter (bracket, brace, parenthesis or quote) is highlighted when the caret is:
  • Immediately to the left of the corresponding opening delimiter if you selected at outer side.
  • At any side of the opening delimiter if you selected at both sides.

You can also use the Highlight with radio buttons to choose one of two ways to highlight matching brackets and quotes: with color or with slightly less distinguishable outlines.

For more information, see Highlighting Matching Delimiters.

Auto-insert pair brackets, parenthesis and quotes If this check box is selected, a closing bracket, parenthesis or quote is automatically created whenever you type the corresponding opening element [, (, " or '. If you change your mind and press Backspace to delete the opening delimiter, its closing pair is also deleted.
Auto-insert closing brace If this check box is selected, a closing brace is inserted automatically:
  • Immediately after you've typed the opening brace (On typing an opening brace)
  • After you've typed the opening brace and pressed Enter (On Enter after an opening brace)

 Note

ReSharper's settings are saved in settings layers that enable you to have different settings for different solutions as well as to share your settings with your team. To learn more, study the Managing and Sharing Options section.

See Also

Procedures