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!
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.
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:
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.
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).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With