Forum Xamarin.Forms

Xaml Element Tags Re-alignment

MarkVincentMarkVincent PHMember ✭✭✭
edited May 2017 in Xamarin.Forms

Hi, what I love about visual studio for windows is that, whenever I do some messy format of my codes, I can simply use the keyboard shortcut

**ctrl + k + d **

and then the visual studio will automatically re-align my codes in a cleaner view.

I tried to use this keyboard shortcut in xaml file, but I nothing happened. I think it's good that you guys can create a keyboard shortcut and to make the xaml element tags neat and readable. You know, the standard format :)

Just a suggestion :)

Rejected · Last Updated

This proposal is outside of the scope of this forum.

Posts

  • ClintStLaurentClintStLaurent USUniversity ✭✭✭✭✭
    edited May 2017

    Look for the Visual Studio add-on "XAML Styler"
    It will clean up your XAML, re-align, re-order, all that good stuff. Either automatically on save or with keystroke: cntrl+k, contrl+2

    Also note: Xamarin.Evolution is not the right place for this. You're talking about Visual Studio behavior that has nothing to do with Xamarin.

This discussion has been closed.