Closed ravero closed 4 years ago
@ravero We can surface this as a setting in the formatting options panel.
This is how the XAML Styler handles that, so I think it makes sense. Also we can think of adding project specific settings to mfc file.
This has been added and will be available in MFractor v4.0.6.
This code action is very useful, but it should allow for setting different styles of applying it. The default implementation splits the attributes on lines by keeping the first attribute in the first then aligning the other attributes in the lines below at the same column:
This is one of the employed standards and is very used in WPF, but another style that is very popular is just by splitting attributes onto its own just adding a tabulation:
MFractor would allow applying both styles. This may come as a setting.