Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Visual Studio 2010 support HTML 5?

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.

like image 363
Chris Avatar asked Nov 05 '09 17:11

Chris


People also ask

Does Visual Studio support HTML5?

HTML5 is supported by Visual Studio 2012. VS 2010 had IntelliSense support, but VS 2012 added corresponding snippets making it fast and easy to write markup.

Is Visual Studio 2010 supported?

Visual Studio 2010 and earlier versions are no longer supported.

Does HTML work in Visual Studio?

Visual Studio offers powerful HTML, CSS, JavaScript, and JSON editors. Tap into the power of LESS, and Sass, use PHP, Python, or C# with ASP.NET. All the popular languages are supported and you can move between languages and project types with ease.


1 Answers

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

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Packages\schemas\html 

to

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\schemas\html 

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:

Windows Registry Editor Version 5.00  [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\Packages\{1B437D20-F8FE-11D2-A6AE-00104BCC7269}\Schemas\Schema 23] "File"="html\\html_5.xsd" "Friendly Name"="HTML 5" "URI"="http://schemas.microsoft.com/intellisense/html-5" 
like image 82
Oskar Austegard Avatar answered Sep 22 '22 16:09

Oskar Austegard