Wednesday, May 27, 2015

Pretty Print XML option in Visual Studio

I frequently work with XML Document especially in the form of Web.config and App.config files, so I was really shocked to discover that there is no "Format Selection" or "Format Document" option available with XML files as exists with HTML Documents.

Of course, as you can probably guess, even if you run the Format Document and Format Selection commands from the Visual Studio menu items, they do not actually work!!

Other XML editors such as Altova XMLSpy have long had a "Pretty Print XML" option and therefore Visual Studio should also offer such an option.

Therefore, if you are like me and want Microsoft to add a "Pretty Print XML" option into Visual Studio, then you should vote for this UserVoice item here: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/8128638-pretty-print-xml

No comments:

Post a Comment