Xavalon / XamlStyler

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

Styles doesn't break line with a long binding expression - Styler should break lines when there are binding parameters #461

Open Juliangzr opened 8 months ago

Juliangzr commented 8 months ago

Describe the bug There's no configuration that break the line when there are long binding expressions. There shoud be an option to break the line when there are various binding parameters.

To Reproduce Steps to reproduce the behavior:

  1. Add line: <TextBlock Visibility="{Binding DescuentoPumaPrisHabilitado, Converter={StaticResource BooleanToVisibilityConverter}, ConverterParameter=Collapsed}" />
  2. See that the formatter doesn't break the line

Expected behavior The formatter should break the binding parameters in different lines

Screenshots Behavior

image

Expected behavior

image

External Configuration Not using external config

Version Info (please complete the following information):