Format XAML with XAMLStyler

pull/278/head
Alexey Golub 5 years ago
parent 5cb6adf19e
commit 4ebc681327

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"xamlstyler.console": {
"version": "3.2001.0",
"commands": [
"xstyler"
]
}
}
}

@ -1,4 +1,4 @@
<Application
<Application
x:Class="DiscordChatExporter.Gui.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

@ -30,4 +30,9 @@
<ProjectReference Include="..\DiscordChatExporter.Core.Services\DiscordChatExporter.Core.Services.csproj" />
</ItemGroup>
<Target Name="Format XAML" AfterTargets="BeforeBuild">
<Exec Command="dotnet tool restore" />
<Exec Command="dotnet xstyler -r -d &quot;$(MSBuildProjectDirectory)&quot;" />
</Target>
</Project>

@ -28,8 +28,8 @@
<!-- Auto-updates -->
<DockPanel
LastChildFill="False"
Background="Transparent"
LastChildFill="False"
ToolTip="Perform automatic updates on every launch">
<TextBlock
Margin="16,8"
@ -43,8 +43,8 @@
<!-- Persist token -->
<DockPanel
LastChildFill="False"
Background="Transparent"
LastChildFill="False"
ToolTip="Persist last used token between sessions">
<TextBlock
Margin="16,8"

@ -0,0 +1,3 @@
{
"indentSize": 4
}
Loading…
Cancel
Save