I use TABS
as the whitespace character, CRLF
as the line break thing, and I position my curly braces like this:
private bool CorrectExample() {
return true;
}
So, not like this:
private bool IncorrectExample()
{
return false;
}
I have my VS 2022 C# text editor settings set to be the same way. Still, somehow whenever I use autocompleted code, for example "ctor" + tab
, or when Visual Studio adjusts namespaces in a file, it always uses the exact opposite of what my setting are. It is really annoying and I don’t want to have to fix it manually every time…
I’ve scoured the settings in Visual Studio, but I didn’t find anything else that could affect these things. How could I change the autoformatting to use the same settings as the C# text editor? Thanks.