
However, your team might prefer that indenting adds four space characters instead of a tab character. For example, you might prefer that when you're coding, indenting adds a tab character. editorconfig file to do that.Ĭoding conventions you use on your personal projects may differ from those used on your team's projects. For example, when coding in C#, if your codebase has a convention to prefer that indents always consist of five space characters, documents use UTF-8 encoding, and each line always ends with a CR/LF, you can configure an. Settings in EditorConfig files enable you to maintain consistent coding styles and settings in a codebase, such as indent style, tab width, end of line characters, encoding, and more, regardless of the editor or IDE you use.

For Visual Studio for Mac, see EditorConfig in Visual Studio for Mac.

This topic applies to Visual Studio on Windows.
