C
C#5mo ago
Cryptic.

Curly bracket auto formatting

how do i set auto formatting in VS Code so that methods and such will be auto formatted like this
void MyMethod() {
string statement = "i like it like this";
}
void MyMethod() {
string statement = "i like it like this";
}
4 Replies
Angius
Angius5mo ago
Maybe .editorconfig will let you make bad decisions like this
Cryptic.
Cryptic.OP5mo ago
i tried still doesnt work for some reason
# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

[*.cs]
csharp_new_line_before_open_brace = none
# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

[*.cs]
csharp_new_line_before_open_brace = none
Unknown User
Unknown User5mo ago
Message Not Public
Sign In & Join Server To View
Cryptic.
Cryptic.OP5mo ago
mb thx tho
Want results from more Discord servers?
Add your server