惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
博客园 - 司徒正美
Last Week in AI
Last Week in AI
博客园 - 聂微东
Jina AI
Jina AI
月光博客
月光博客
爱范儿
爱范儿
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
T
Tailwind CSS Blog
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
罗磊的独立博客
小众软件
小众软件
雷峰网
雷峰网
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog

博客园 - star163

开源项目管理工具 [转]项目管理和版本跟踪——Redmine和SVN的结合 [转]在项目管理工具Redmine中使用SubVersion进行版本管理 [转]非常全的javascript控制MediaPlayer与realplayer对象 [转]强烈推荐:jQuery-240多个jQuery插件 [转]详谈基于JSON的高级AJAX开发技术 使用JavaScript中的ActiveXObject填充并设置Excel格式 - star163 - 博客园 [转]ASP.NET MVC Framework 尝鲜小试 - star163 MVC资源 [转]ASP.NET MVC 框架路线图更新 [转]用WMI实现Windows系统自动管理(多图) 优秀开源资源 UPDATE实现多表更新 [转]50种方法巧妙优化SQL Server数据库 [转]使用面向对象的技术创建高级 Web 应用程序 NET常用设计模式——代理(Proxy)模式 .NET常用设计模式——迭代器模式 NET常用设计模式——组合模式 NET常用设计模式——单件模式
[转]让VS2008支持JQUERY的javascript语法提示
star163 · 2008-05-06 · via 博客园 - star163
JScript IntelliSense: Working with jQuery

We have good news for jQuery fans.  The hotfix we released today fixes a bug in IntelliSense where it would fail with jQuery.  Any page with jQuery should just work now.  While experimenting with this new-found functionality today, I found annotating the library with a few XML Doc Comments really made a big difference.  The key is to add a return type of "jQuery" like this:

doc comments

Here's some jQuery chaining with IntelliSense:

completion list

tooltip

There were only a few functions that (due to the way they were declared) were not able to be annotated.  Special thanks to Brennan where I borrowed the comments from.  If anyone will be making a fully annotated version of jQuery, I'd be happy to post a link to it from here.

Jeff King
Program Manager
Visual Studio Web Tools

Posted: Friday, February 08, 2008 9:20 PM by