Author Topic: Additional formatting options for attibutes on tags in XAML files  (Read 1176 times)

abushne

  • Community Member
  • Posts: 18
  • Hero Points: 0
I was recently trying to achieve a formatting for attributes on Tags for XAML files (which is based on XML) in SlickEdit and I am unable to achieve what I want. We like to layout our xaml  as follows:

<TagName  x:uID="someValue"
                  Name="SomeValue" >
   <ChildTag1 />
</TagName>

This is easily achievable in visual Studio as they have options that you can specify to have attributes One Per line and place the first one on the same line as the tag. 

Unfortunately in SlickEdit I cannot set something similar up, the only choices I seem to have are:

  • All the tag attributes on one line
  • All the tag attributes on one line, with word wrap
  • All the tag attributes on one line, with word wrap
  • One line IF one attribute
  • One per line.

It would be nice to add the following enhancement with respects to formatting attributes on the tags:

Extend the "one per line" to place the first attribute on the same line as the tag itself, then of course line the rest up on that below..