Since Visual Studio 2010 is slated for release in March of 2010 and HTML 5 is now starting to be used even more widely, I would like to know if Visual Studio will ship with HTML 5 templates, standard controls and support for the more common markup?
A definition for support of HTML 5 would be that any new version of Visual Studio should have similar support for code-completion, validation and markup that is currently supported for HTML 4.01 and XHTML 1.0 and 1.1.
Update From the Visual Web Develolper Team Blog:
HTML 5 intellisense and validation schema for Visual Studio 2008 and Visual Web Developer is for downloading. Follow the instructions posted on the page to install the new scheme. Seems like the Visual Studio Team will be supporting HTML 5 after all.
February 2011 Update from the Visual Web Developer Team Blog
Visual Studio 2010 SP1 finally adds some support for HTML5. "The entire HTML5 specification isn’t supported but most of the new elements and attributes are. That means you get both intellisense and validation for HTML5 with SP1." Read More Here
May 2011 Update from Scott Guthrie's blog
Just this month, Microsoft has pushed out some HTML5 improvements with the ASP.NET MVC 3 Tools Update. While the post seems to be very pro MVC, it's nice to see that Visual Studio 2010 now has default templates and intelisense support for HTML5; along with a nice addition of a jQuery script that will give some backwards support for older browsers.
The download from the Web Developer Team blog is for Visual Studio 2008. In order to add schema validation support to Visual Studio 2010 you'll want to make some subtle changes:
Add the schema to your 2010 (10.0) folder rather than to your 9.0 folder (duh): So e.g. change the path in the readme from
to
Second, EDIT the registry file that is appropriate for your Windows bit version, again replacing the 9.0 with 10.0 - for instance for my 64 bit windows the file reads as follows:
Just released today: Web Standards Update for Visual Studio SP1.
Check the following links for more details:
HTML5 & CSS3 in Visual Studio 2010 SP1 1
How to Create HTML5 Website and Page Templates for Visual Studio 2010
I think real question is - will Microsoft support HTML5? Multiple places on the internet I found that Microsoft is seriously considering to support HTML5. If that is true, it makes sense to expect VS 2010 to support HTML5.
" How can you support something that doesn't exist? Something you can't validate against because there's no accepted spec?
Yes they could build in support for the experimental DTD, but they did that with XML/XSLT/XPath and ended up fragmenting XML support for far too long and were attacked for it from all sides.
Giving that people like Google are now pushing for tags they want just to make supporting Wave easier it's going to be a long time before HTML5 is done, and the "standard" is going to fluctuate and change - so why waste time and resources trying to hit a moving target? " link text
Oh my god! Are you kidding me??? C++ was used by 1.5 million programmer worldwide before it was standardized. link text In the mid-to-late 90's, 50%+ of all software development was done in C++ before it was standardized in 1998. Even when there was an ANSI C standard, very few compilers actually used that standard without countless ambiguous differences. And don't even get me start on how badly all the browsers have followed the HTML standards! In fact, still today no two browsers work exacly 100% the same because they still can't follow the HTML or CSS standards that exist now.
You can use this tool from Microsoft Gallery:
HTML 5 Intellisense and validation schema for Visual Studio 2010 and 2008