可以在VS 2019年的.editorconfig中声明一条规则,即xaml文件必须匹配属性间距和元素间距设置?
谢谢。
我们需要选票:https://developercommunity.visualstudio.com/idea/1078375/editorconfig-support-for-xaml-files.html
发布于 2022-02-21 09:15:28
它可能不在.editorconfig中,但是使用Visual的施泰勒或施泰勒2022扩展名,您可以在Settings.XamlStyler文件中定义XAML样式,就像对.editorconfig文件所做的那样。
如果您在Visual之外需要此功能,则XAML Styler可作为控制台应用程序使用。因此,您可以在构建脚本中使用整合它。
就像我们接近.editorconfig一样
https://stackoverflow.com/questions/62298218
复制相似问题