Can I customize Document Format support for HTML5 tags in Visual Studio 2010?

I often use the command Edit → Advanced → Format Document (Ctrl-K, D) in VS2010 when editing HTML markup.

I am working on a site that uses HTML5 structural elements ( <nav>, <header>, <footeretc.), but I cannot force Visual Studio to indent the contents of the tags when reformatting the document.

I examined the options under Tools → Options → Text Editor → HTML → Formatting → Specific Tag Options and explicitly added HTML5 elements that I use in the “Client Client Tags” section

Visual Studio 2010 options screenshot

but this does not mean that the contents of the tag are reformatted.

Is this not supported? Known bug? Any configuration settings that I missed?

+3

All Articles