Notes

Visual Studio notes

author: Paul Kim

categories: vs

tags: vs

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


ChromeEdgeFirefoxOpera

© 2021 paulkode.com. All rights reserved.