SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: abushne on October 05, 2018, 04:28:43 pm

Title: XML/XAML spacing for attributes on tags
Post by: abushne on October 05, 2018, 04:28:43 pm
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:


What I would want/need is another option that would allow the "one per line" but the first attribute on the same line as the tag, I don't seem to see that...

Am I missing something?





Title: Re: XML/XAML spacing for attributes on tags
Post by: patrick on October 05, 2018, 05:04:32 pm
You're not missing anything.  There's not currently a setting which does what you want.
Title: Re: XML/XAML spacing for attributes on tags
Post by: abushne on October 05, 2018, 05:36:43 pm
OK, thanks. I can post an enhancement request then :-)