'XAML Files .editorconfig rules
it is possible to declare a rule in .editorconfig for VS 2019 that xaml files must match Attribute Spacing and Element Spacing settings?
Thank you.
We need votes:
https://developercommunity.visualstudio.com/idea/1078375/editorconfig-support-for-xaml-files.html
Solution 1:[1]
It might not be in the .editorconfig, but with the XAML Styler or XAML Styler 2022 extension for Visual Studio you can define XAML styling in a Settings.XamlStyler file, just like you would do with a .editorconfig file.
If you need this outside of Visual Studio, then XAML Styler is available as a console app. So you can integrate it in you build scripts.
This is as close as we get to .editorconfig
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | SWSBB |
