Describe the bug
When Settings.XamlStyler contains "IndentWithTabs": false and Visual Studio (Options / Text Editor / XAML / Tabs) is configured to keep tabs, XamlStyler uses tabs instead of spaces.
To Reproduce
Steps to reproduce the behavior:
Use a Settings.XamlStyler file with "IndentWithTabs": false.
Configure Visual Studio to keep tabs for XAML
Format a XAML file
Expected behavior
XAML file should be formatted using spaces instead of tabs, i.e. the configuration from Settings.XamlStyler should override the VS setting.
Screenshots
n/a
External Configuration
Default configuration, except that IndentWithTabs is false.
Version Info (please complete the following information):
OS: Windows 10 (22H2)
Visual Studio: VS2022 (17.9.6)
XAML Styler: Extension (3.2404.2)
Additional context
The setting works as expected the other way around, i.e. "IndentWithTabs": true and VS set up to use spaces.
Describe the bug When
Settings.XamlStyler
contains"IndentWithTabs": false
and Visual Studio (Options / Text Editor / XAML / Tabs) is configured to keep tabs, XamlStyler uses tabs instead of spaces.To Reproduce Steps to reproduce the behavior:
Settings.XamlStyler
file with"IndentWithTabs": false
.Expected behavior XAML file should be formatted using spaces instead of tabs, i.e. the configuration from Settings.XamlStyler should override the VS setting.
Screenshots n/a
External Configuration Default configuration, except that IndentWithTabs is false.
Version Info (please complete the following information):
Additional context The setting works as expected the other way around, i.e.
"IndentWithTabs": true
and VS set up to use spaces.