Auto-Inserting Matching Delimiters
By default, whenever you type an opening delimiter
a paired character is inserted automatically (whenever appropriate). If you change your mind and press
to delete an opening delimiter, its closing pair is also deleted.
If the pairing closing delimiter already exists, ReSharper will not add another one.
The matching symbols are inserted according to your formatting preferences.
ReSharper can provide a closing brace immediately on typing the
opening one, or on pressing
If necessary, you can change the default behavior. To do so, go to the Environment | Editor | Editor Behavior options page and use the controls in the Braces and Parentheses section.
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.