Xavalon / XamlStyler

Visual Studio extension to help format your XAML source code
Apache License 2.0
1.18k stars 128 forks source link

FormatOnSave not triggered when file(s) are saved on build/run #383

Open johnromby opened 2 years ago

johnromby commented 2 years ago

It appears that the FormatOnSave is not triggered when VS saves files on build and/or on run (Start).

Expected behavior I would expect that FormatOnSave to be triggered if the xaml file(s) was saved no matter what or who saves them. Otherwise one could potentially commit unstyled code to version control, which could become a mess pretty quickly.

External Configuration Settings.zip

Version Info: Windows 10 (21H2) Visual Studio Pro 64-bit 2022 (17.1.5) XAML Styler (3.2111.0