XamlStyler icon indicating copy to clipboard operation
XamlStyler copied to clipboard

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

Open Juliangzr opened this issue 1 year ago • 0 comments

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):

  • OS: Windows 11
  • Visual Studio: VS 2022
  • XAML Styler: 3.2311.2

Juliangzr avatar Jan 10 '24 10:01 Juliangzr