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:
![](http://www.coderblog.in/wp-content/uploads/2020/03/image-3-1024x452.png)
and after formatted:
![](http://www.coderblog.in/wp-content/uploads/2020/03/image-2-1024x878.png)
You will find that the code became cleaner. And you can also do more advance settings for XAML Styler :
![](http://www.coderblog.in/wp-content/uploads/2020/03/image-4-1024x940.png)
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 WidthRequest
, RowSpacing
, Scale
, etc…
So I suggest you can use Sharpnado’s Settings.XamlStyler
file for your External configuration file:
![](http://www.coderblog.in/wp-content/uploads/2020/03/image-5-1024x263.png)