mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
6482e9b0de
* Use XamlStyler to check XAML formatting * fix spellcheck * fix * format XAML FLS, Hosts, ImageResizer, MeasureTool, PowerRename * format XAML Peek * exclude settings XAML and make CI pass * doc
43 lines
1.8 KiB
Plaintext
43 lines
1.8 KiB
Plaintext
{
|
|
"AttributesTolerance": 2,
|
|
"KeepFirstAttributeOnSameLine": false,
|
|
"MaxAttributeCharactersPerLine": 0,
|
|
"MaxAttributesPerLine": 1,
|
|
"NewlineExemptionElements": "RadialGradientBrush, GradientStop, LinearGradientBrush, ScaleTransform, SkewTransform, RotateTransform, TranslateTransform, Trigger, Condition, Setter",
|
|
"SeparateByGroups": false,
|
|
"AttributeIndentation": 0,
|
|
"AttributeIndentationStyle": 1,
|
|
"RemoveDesignTimeReferences": false,
|
|
"IgnoreDesignTimeReferencePrefix": false,
|
|
"EnableAttributeReordering": true,
|
|
"AttributeOrderingRuleGroups": [
|
|
"x:Class",
|
|
"xmlns, xmlns:x",
|
|
"xmlns:*",
|
|
"x:Key, Key, x:Name, Name, x:Uid, Uid, Title",
|
|
"Grid.Row, Grid.RowSpan, Grid.Column, Grid.ColumnSpan, Canvas.Left, Canvas.Top, Canvas.Right, Canvas.Bottom",
|
|
"Width, Height, MinWidth, MinHeight, MaxWidth, MaxHeight",
|
|
"Margin, Padding, HorizontalAlignment, VerticalAlignment, HorizontalContentAlignment, VerticalContentAlignment, Panel.ZIndex",
|
|
"*:*, *",
|
|
"PageSource, PageIndex, Offset, Color, TargetName, Property, Value, StartPoint, EndPoint",
|
|
"mc:Ignorable, d:IsDataSource, d:LayoutOverrides, d:IsStaticText",
|
|
"Storyboard.*, From, To, Duration"
|
|
],
|
|
"FirstLineAttributes": "",
|
|
"OrderAttributesByName": true,
|
|
"PutEndingBracketOnNewLine": false,
|
|
"RemoveEndingTagOfEmptyElement": true,
|
|
"SpaceBeforeClosingSlash": true,
|
|
"RootElementLineBreakRule": 0,
|
|
"ReorderVSM": 2,
|
|
"ReorderGridChildren": false,
|
|
"ReorderCanvasChildren": false,
|
|
"ReorderSetters": 0,
|
|
"FormatMarkupExtension": true,
|
|
"NoNewLineMarkupExtensions": "x:Bind, Binding",
|
|
"ThicknessSeparator": 2,
|
|
"ThicknessAttributes": "Margin, Padding, BorderThickness, ThumbnailClipMargin",
|
|
"FormatOnSave": true,
|
|
"CommentPadding": 2,
|
|
}
|