XamlStyler icon indicating copy to clipboard operation
XamlStyler copied to clipboard

Attribute Reordering / First-line attributes place another attributes on new line

Open Denis535 opened this issue 5 years ago • 1 comments

For example I have element with attributes:

<MenuItem Header="A" Header2="A" Header3="A" />

If I set First-line attributes with "Header3", then I will get:

<MenuItem Header3="A"
          Header="A" Header2="A" />

It is expected that this reordering option will not break line. And that it should do nothing if attribute is already on tag-line. Otherwise it’s more likely formatting option.

External Configuration

  • Not used

Version Info

  • OS: Windows 10 (1809)
  • Visual Studio: Enterprise 2019 Preview Version 16.6.0 Preview 2.1
  • XAML Styler: Extension (3.2003.9)

Denis535 avatar Apr 05 '20 23:04 Denis535

Thanks for the bug report! Can you please update the issue with the following information from the bug template to help us investigate/debug?

**External Configuration**
If you are using an external configuration, please attach to help reproduce the issue.

**Version Info (please complete the following information):**
 - OS: [e.g. Windows 10 (1903), MacOS (10.15) , Ubuntu (19.10), etc.]
 - Visual Studio: [e.g., VS2019 (16.4.1), VS for Mac (8.3.11), etc.]
 - XAML Styler: [e.g., Extension (3.2001.0), Console (3.1912.0), etc.] 

grochocki avatar Apr 07 '20 02:04 grochocki