我可以获取Chrome应用和扩展程序的智能感知吗? [英] Can I get intellisense for chrome apps and extensions?
本文介绍了我可以获取Chrome应用和扩展程序的智能感知吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么方法可以获取JavaScript IntelliSense
以便在Visual Studio 2012中开发Google Chrome应用和扩展程序?
Is there any way to get javascript IntelliSense
for developing Google Chrome apps and extensions in Visual Studio 2012?
推荐答案
You can include this file found at GitHub: chrome.intellisense.js
将文件放置在与正在处理的文件相同的目录中,并在源文件顶部添加以下行.
place the file in the same directory as the file you are working on and add the following line at the top of your source file.
/// <reference path="chrome" />
这也可以在VS 2013中使用,并且应该也可以在Visual Studio 2010 和2013 中使用,但未经测试.
This also works in VS 2013 and should work in Visual Studio 2010 and 2013 as well, but is not tested.
这篇关于我可以获取Chrome应用和扩展程序的智能感知吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文