Can I get intellisense for chrome apps and extensions?

帅比萌擦擦* 提交于 2019-12-12 10:09:46

问题


Is there any way to get javascript IntelliSense for developing Google Chrome apps and extensions in Visual Studio 2012?


回答1:


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" />

This also works in VS 2013 and should work in Visual Studio 2010 and 2013 as well, but is not tested.



来源:https://stackoverflow.com/questions/21493495/can-i-get-intellisense-for-chrome-apps-and-extensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!