mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-06-05 09:13:44 -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"
|
x:Class="DiscordChatExporter.Gui.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
|
|
@ -30,4 +30,9 @@
|
||||||
<ProjectReference Include="..\DiscordChatExporter.Core.Services\DiscordChatExporter.Core.Services.csproj" />
|
<ProjectReference Include="..\DiscordChatExporter.Core.Services\DiscordChatExporter.Core.Services.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="Format XAML" AfterTargets="BeforeBuild">
|
||||||
|
<Exec Command="dotnet tool restore" />
|
||||||
|
<Exec Command="dotnet xstyler -r -d "$(MSBuildProjectDirectory)"" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -28,8 +28,8 @@
|
||||||
|
|
||||||
<!-- Auto-updates -->
|
<!-- Auto-updates -->
|
||||||
<DockPanel
|
<DockPanel
|
||||||
LastChildFill="False"
|
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
|
LastChildFill="False"
|
||||||
ToolTip="Perform automatic updates on every launch">
|
ToolTip="Perform automatic updates on every launch">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="16,8"
|
Margin="16,8"
|
||||||
|
@ -43,8 +43,8 @@
|
||||||
|
|
||||||
<!-- Persist token -->
|
<!-- Persist token -->
|
||||||
<DockPanel
|
<DockPanel
|
||||||
LastChildFill="False"
|
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
|
LastChildFill="False"
|
||||||
ToolTip="Persist last used token between sessions">
|
ToolTip="Persist last used token between sessions">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Margin="16,8"
|
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