Create a new C# console app.
Open program.cs
Right click -> add new item -> text file.
Rename the file to .editorconfig
Paste the following into the file and save
[*.cs]
indent_style = tab
indent_size = 10
Switch to the program.cs tab and invoke Edit.FormatDocument.
Expected:
The document is formatted to use tabs and a wider indent.
Actual: Nothing happens
After closing and reopening program.cs, Edit.FormatDocument applies the new formattnig settings.
Create a new C# console app.
Open
program.csRight click -> add new item -> text file.
Rename the file to
.editorconfigPaste the following into the file and save
Switch to the
program.cstab and invokeEdit.FormatDocument.Expected:
The document is formatted to use tabs and a wider indent.
Actual: Nothing happens
After closing and reopening program.cs,
Edit.FormatDocumentapplies the new formattnig settings.