The great tool for help to format the XAML code in Xamarin

I will show you a XAML formatting tool (XAML Styler) to help to organize and store out your code. This is a visual studio extension, and it supports visual studio 2019 both on Windows and Mac.

Please take a look the orange codes without any formatting:

and after formatted:

Do you want to be a good trading in cTrader?   >> TRY IT! <<

You will find that the code became cleaner. And you can also do more advance settings for XAML Styler :

But it has a little issue for us Xamarin.Forms dev, all the attributes are WPF XAML attributes. Some are the same in XF, but some are different like WidthRequestRowSpacingScale, etc…

So I suggest you can use Sharpnado’s Settings.XamlStyler file for your External configuration file:


Views: 3
Total Views: 396 ,

Leave a Reply

Your email address will not be published. Required fields are marked *