Provide virtual formatting in editors for XAML, Razor, ASP.NET Web Forms etc.
Declarative languages that are bound to a visual tree are often heavily nested and also tend to be refactored frequently. Maintaining the formatting for these languages can quickly become a chore, even with 'reformat' features.
Virtual formatting lets the editor handle indentation in the same way it handles syntax-coloring. Indentation of text is immediate and fluid as edit operations are completed; text just re-flows when the structure changes, there is no 'reformat' button.
No tabs or spaces are inserted for formatting, indentation is more akin to that of word-processors (but actually a lot smarter).
This video shows virtual formatting in action:
http://youtu.be/IFJHG1EnS0A
Thanks for all the feedback on this item. Please be advised that we have moved this item to the http://aspnet.uservoice.com site and transferred the associated votes. We are going to close this item out and release your votes back to you so you can apply them elsewhere. Note that the votes will remain with the item on the other site, so the item will not lose any of its current vote count, and you will recoup your votes on this site. To track the status, post comments, or add votes on this item, please go to http://aspnet.uservoice.com/forums/41199-general-asp-net/suggestions/3090802-provide-virtual-formatting-in-editors-for-xaml-ra and sign in using your current user ID and login.
2 comments
-
rom
commented
Why not C# too? +1
-
Yevgeniy
commented
I think it would be great, especially for Asp.Net Mvc. It would remove annoying whitespaces in produced pages.