Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015 bug? Inserting spaces instead of tabs for XAML text editor

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.

XAML

I have tried setting tabs for XML, HTML even for All Languages and it still inserts spaces in my XAML files.

All

Is this a bug or do the text editor setting for XAML reside somewhere else?

like image 319
Vlad Avatar asked Aug 25 '15 17:08

Vlad


1 Answers

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.

like image 154
Julien Lebosquain Avatar answered Sep 28 '22 22:09

Julien Lebosquain