VS2012中的jQuery Intellisense [英] jQuery Intellisense in VS2012

查看:148
本文介绍了VS2012中的jQuery Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Visual Studio 2012中向Visual Studio 2012中添加插件以使用jQuery语法?

How can I add a plugin into Visual Studio 2012 to work with jQuery syntax in intellisense on visual studio?

请不要给我其他网站的链接,请提供您确实可以正常使用的解决方案.

Please don't give me link of other site, just give a solution that you did and worked fine.

推荐答案

  1. 在Visual Studio扩展管理器中安装NuGet
  2. 打开您的Web应用程序解决方案
  3. 从工具->库软件包管理器中打开 Package Manager控制台, NuGet将最新的jQuery版本添加到您的项目中
  4. 在控制台中输入"PM> Install-Package jQuery"
  5. 将jQuery脚本文件从解决方案资源管理器"窗口拖放到javascript编辑器窗口中
  6. 享受jQuery intellisense
  1. Install NuGet in Visual Studio Extension Manager
  2. Open your web application solution
  3. Open Package Manager Console from Tools-> Library Package Manager, NuGet add latest jQuery versions to your project
  4. Type "PM> Install-Package jQuery" in console
  5. Drag and drop your jQuery script file from the Solution Explorer window onto the javascript editor window
  6. Enjoy jQuery intellisense

这篇关于VS2012中的jQuery Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆