本文介绍了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.
推荐答案
- 在Visual Studio扩展管理器中安装NuGet
- 打开您的Web应用程序解决方案
- 从工具->库软件包管理器中打开 Package Manager控制台,NuGet将最新的jQuery版本添加到您的项目中
- 在控制台中输入"PM> Install-Package jQuery"
- 将jQuery脚本文件从解决方案资源管理器"窗口拖放到javascript编辑器窗口中
- 享受jQuery intellisense
- Install NuGet in Visual Studio Extension Manager
- Open your web application solution
- Open Package Manager Console from Tools-> Library Package Manager,NuGet add latest jQuery versions to your project
- Type "PM> Install-Package jQuery" in console
- Drag and drop your jQuery script file from the Solution Explorer window onto the javascript editor window
- Enjoy jQuery intellisense
这篇关于VS2012中的jQuery Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!