How do I stop VS2017 from auto-replacing _inline_ tabs with spaces?

Viewed 104

I have Visual Studio 2017 for C# (Express and Community) and I am trying to add some inline comments to my class attributes for Doxygen. Between my declaration and my comment I wish to have tabs to align my comments properly. VS however replaces those tabs with spaces every time I hit the autoformat keys Ctrl-K Ctrl-D. It doesn't help to set "Keep tabs" under "Tools/Options/Text Editor/C#/Tabs". VS doesn't keep those tabs anyway. I didn't find anything under "C#/Code Style/Formatting" either.

Is there anyway to prevent autoformat from replacing my tabs?

I already tried asking on MSDN, but everything they told my to try out didn't help, see here.

0 Answers
Related