سؤال

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

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

نصائح أخرى

Solution found on reddit

create file jsconfig.json with the following content

{"typeAcquisition": {"include": ["chrome"]}}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top