摘要:HTML5 Support for the Visual Studio 2010 Editor
如果您想更有效率地開發HTML5相關的網頁,
接下來的訊息,相信對您來說,會是個好消息的!
那就是,VS2010終於能更好地支援HTML5的開發了;
只要您安裝以下的更新檔,就可以讓VS2010 SP1(目前官方建議此更新需安裝在SP1上)中,
有更好的HTML5、CSS3、new JavaScript APIs等等的開發性支援了!
更新檔位置:
Web Standards Update for Microsoft Visual Studio 2010 SP1
主要更新如下:
HTML 5 features
Browser APIs
- Geo-Location - Location aware websites are a clear, growing trend and now you've got full intellisense and validation within Visual Studio. For a nice sample, view source on the IE9 test drive demo.
- Local Storage – IE has been supporting local storage from IE8, so now Visual Studio will provide you with full-fidelity intellisense to create sites which can save state within the browser. For sample of this, do a view source on HTML5 Demo Site
CSS3
- 2D Transforms
- 3D Transforms
- Animations
- Background & Borders
- Basic Box Model
- Basic UI
- Behavior
- Color
- Flexible Box Layout
- Fonts
- Generated Content for Paged Media
- Hyperlink Presentation
- Line
- Lists
- Marquee
- Media Queries
- Multi Column
- Namespaces
HTML5 in Visual Studio
主要可看到的支援有intellisense and validation如下:
CSS3 in Visual Studio
除了HTML5的支援外,當然也有CSS3的支援.
JavaScript and HTML5 in Visual Studio
有關HTML5中的JavaScript的新更新,當然也有intellisense 的支援,真的是相當地方便了!