I have my Tools -> Options -> Text Editor -> XAML -> Tabs set to "Keep Tabs" instead of spaces. However, when I auto-indent my code using the shortcut Ctrl-E-D
, it inserts spaces everywhere in my XAML code.
I did not have this issue in VS 2013.
I have tried setting tabs for XML, HTML even for All Languages and it still inserts spaces in my XAML files.
Is this a bug or do the text editor setting for XAML reside somewhere else?
This is fixed in Visual Studio Tools for Universal Windows Apps v1.1: see the release notes.
Even though it's for Universal Windows Apps, the XAML editor fix seems to also apply to WPF.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With