Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 JavaScript Intellisense Reference Group Reverts to Implicit (Windows)

I have set up my IDE to show JS Intellisense based on references set in _references.js (http://blog.craigtp.co.uk/post/Javascript-jQuery-Intellisense-in-Visual-Studio-2012.aspx). In doing so, you have to set JavaScript IntelliSense Reference Group to "Implicit (Web)", which I've done. For some time, it works beautifully.

However, after some seemingly random amount of time (could be hours or days, but not usually more than a day or so), my JS IntelliSense stops working. When I go back to the Reference Group settings, I find that the Reference Group has reverted back to "Implicit (Windows)".

Does anyone else have that problem? What might be causing that, or is this a bug in VS2012 (this is the released version)?

Thanks!

like image 322
jkane001 Avatar asked Oct 25 '12 12:10

jkane001


People also ask

What is Java IntelliSense in Visual Studio?

JavaScript IntelliSense. Visual Studio provides a powerful JavaScript editing experience right out of the box. Powered by a TypeScript based language service, Visual Studio delivers richer IntelliSense, support for modern JavaScript features, and improved productivity features such as Go to Definition, refactoring, and more.

What's new in JavaScript Intellisense 2017?

Starting in Visual Studio 2017, JavaScript IntelliSense displays a lot more information on parameter and member lists. This new information is provided by the TypeScript language service, which uses static analysis behind the scenes to better understand your code. TypeScript uses several sources to build up this information:

How do I Turn Off IntelliSense in VS Code?

If you prefer, you can turn off IntelliSense while you type. See Customizing IntelliSense below to learn how to disable or customize VS Code's IntelliSense features. As provided by the language service, you can see quick info for each method by either pressing ⌃Space (Windows, Linux Ctrl+Space) or clicking the info icon.

How to trigger IntelliSense in the editor?

Pressing Tab or Enter will insert the selected member. You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.) in JavaScript).


1 Answers

Not sure why it changes on you but I found that this trick still works when set to Windows if you manually add the reference to ~/scripts/references.js

like image 53
Robert Levy Avatar answered Oct 08 '22 09:10

Robert Levy