views:

6414

answers:

7

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.

+10  A: 

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.

Tejas
Of course they will support it... when it is done. In the mean time support (from everywhere) is likely to be patchy. As someone else already pointed out, HTML5 isn't due to be complete for many years.
typoknig
+1  A: 

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?

blowdart
Strangely enough if you develop against .NET then you're devloping against a moving target already. In just a few years we've gone from .NET 1.0 to .NET 4.0, C# and VB.NET have changed quite a bit and we've cycled through a handful of Visual Studios. Now with the changes in browsers and what not, I do not find it wrong to ask if an enviroment I work in everyday will keep up with the shift in the basic framework I work in.
Chris
Yes but those were fixed by the time VS came out. And they are standards MS set. Right now you have something that is a big bun fight, were competitors are trying to push their own agendas, and as soon as MS publish something that's what people use. And if it changes again you're stuck - which is why Google is starting to add "HTML5" for the things they need for Wave
blowdart
+15  A: 

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"
Oskar Austegard
Thanks! This worked wonderful!
Justin
+1  A: 

" 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.

+2  A: 

You can use this tool from Microsoft Gallery:

http://visualstudiogallery.msdn.microsoft.com/en-us/d771cbc8-d60a-40b0-a1d8-f19fc393127d

Mendy
+2  A: 

If anyone is having trouble getting the HTML 5 schema tool to work in Visual Studio 2010, take a look at this blog post I found which is a great help:

http://www.raihaniqbal.net/blog/2010/08/html5-support-in-visual-studio-2010/

adimauro
+1  A: 

Hope this post answer you all. http://praveenbattula.blogspot.com/2010/08/visual-studio-intellisense-for-html-5.html

Rare Solutions