Visual Studio notes

How to restore all default settings?

Tools -> Import and Export Settings -> Reset all settings

How to change tab indent size to 2 spaces for all languages?

Tools -> Options -> Text Editor -> All Languages -> Tabs

change tab indent size to 2 spaces for all languages

How to change tab indent size to 2 spaces for C# language?

Tools -> Options -> Text Editor -> C# -> Tabs

change tab indent size to 2 spaces for C# language

How to keep open brace on the same line?

Tools -> Options -> Text Editor -> C# -> Code Style -> Formatting -> New Lines

Note: Uncheck all checkboxes

keep curly brace on the same line


© 2020 | Paul Kim