Reputation: 4125
In Visual Studio we have automatic code ordination when a the current block or sentence is finished/closed. The white spaces are adjusted, the curly braces are aligned, etc. Is there something like that in XAML?
Upvotes: 0
Views: 350
Reputation: 1702
This should work for XAML as well, at least if I understand your question correctly.
You can change the settings for how the code is aligned when you go to Tools -> Text Editor -> XAML and you'll see a couple of formatting and spacing options to finetune your code appearance.
Pressing CTRL-K (or CTRL-E) and then CTRL-D will automatically adjust your code. (If you want to look up the combination to format the document go to Tools -> Customize -> Keyboard and look for "Edit.FormatDocument".)
Upvotes: 2