mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-28 05:34:12 -04:00
Format XAML with XAMLStyler
This commit is contained in:
parent
5cb6adf19e
commit
4ebc681327
5 changed files with 23 additions and 3 deletions
12
.config/dotnet-tools.json
Normal file
12
.config/dotnet-tools.json
Normal file
|
@ -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 "$(MSBuildProjectDirectory)"" />
|
||||
</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"
|
||||
|
|
3
Settings.XamlStyler
Normal file
3
Settings.XamlStyler
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"indentSize": 4
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue