E
E
evg_962018-03-29 00:55:20
visual studio
evg_96, 2018-03-29 00:55:20

How to make curly brace close automatically in Visual Studio 2017?

Before that, the studio had been standing for 15 years. At first, the formatting was unusual, but then I got used to it. It was usually expected that you first write the opening and closing brackets, then enter between them and you get formatting of three lines, 2 brackets and an indented line in the middle for entering code. In the studio, it was necessary to enter the opening bracket first, the second one was automatically substituted, and after enter it was possible to write code with an indent.
Now I downloaded a new studio for 17 years, community. Now the focus with autosubstitution of the closing bracket does not work. Wildly it is not convenient to put indents on your own. Tell me how to make everything as it was before?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eRKa, 2018-04-01
@kttotto

Formatting is configured Tools -> Options -> TextEditor -> ( <C#>) -> CodeStyle -> Formatting

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question