Answer the question
In order to leave comments, you need to log in
How can I make visual studio not wrap the second parenthesis at the beginning of the line when {}?
Here, the second parenthesis always wraps the newline to the very beginning
Is it possible to make it wrap without putting the second parenthesis to the very beginning?
Answer the question
In order to leave comments, you need to log in
1. Create an .editorconfig file at the root of the project (usually next to the solution file).
2. Write there:
[*.cs]
csharp_new_line_before_open_brace = false
Solved
I had a folder open, where 2 projects were open, 1 - gui, 2 - console, another one in the console, tried to make a condition in this under the console project - everything works, then I didn’t understand anything at all I
completely deleted the folder where all these were projects, then created a new project, then a console application, tried to write a condition - everything works
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question