We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My .editconfig look like
[*.cs] csharp_new_line_before_open_brace = none csharp_new_line_before_else = false csharp_new_line_before_catch = false csharp_new_line_before_finally = false csharp_new_line_before_members_in_object_initializers = false csharp_new_line_before_members_in_anonymous_types = false csharp_new_line_between_query_expression_clauses = false indent_style = tab indent_size = 2
But the code will not formatted correct, every brace will be placed on a new line. Also omnisharp.json will not work.
{ "FormattingOptions": { "NewLinesForBracesInLambdaExpressionBody": false, "NewLinesForBracesInAnonymousMethods": false, "NewLinesForBracesInAnonymousTypes": false, "NewLinesForBracesInControlBlocks": false, "NewLinesForBracesInTypes": false, "NewLinesForBracesInMethods": false, "NewLinesForBracesInProperties": false, "NewLinesForBracesInObjectCollectionArrayInitializers": false, "NewLinesForBracesInAccessors": false, "NewLineForElse": false, "NewLineForCatch": false, "NewLineForFinally": false } }
This will happen after last VSC update, I have nothing changed.
The text was updated successfully, but these errors were encountered:
Hi @gmamekudz, Do you have C# DevKit installed? Have you configured dotnet.server.useOmnisharp to true in your settings.json?
dotnet.server.useOmnisharp
true
Sorry, something went wrong.
No branches or pull requests
My .editconfig look like
[*.cs]
csharp_new_line_before_open_brace = none
csharp_new_line_before_else = false
csharp_new_line_before_catch = false
csharp_new_line_before_finally = false
csharp_new_line_before_members_in_object_initializers = false
csharp_new_line_before_members_in_anonymous_types = false
csharp_new_line_between_query_expression_clauses = false
indent_style = tab
indent_size = 2
But the code will not formatted correct, every brace will be placed on a new line. Also omnisharp.json will not work.
{
"FormattingOptions": {
"NewLinesForBracesInLambdaExpressionBody": false,
"NewLinesForBracesInAnonymousMethods": false,
"NewLinesForBracesInAnonymousTypes": false,
"NewLinesForBracesInControlBlocks": false,
"NewLinesForBracesInTypes": false,
"NewLinesForBracesInMethods": false,
"NewLinesForBracesInProperties": false,
"NewLinesForBracesInObjectCollectionArrayInitializers": false,
"NewLinesForBracesInAccessors": false,
"NewLineForElse": false,
"NewLineForCatch": false,
"NewLineForFinally": false
}
}
This will happen after last VSC update, I have nothing changed.
The text was updated successfully, but these errors were encountered: