my JavaScript Intellisense is broken in Visual Studio 2017. I know my _references.js file is correct as JS Intellisense works fine in VS2015.
Any help is greatly appreciated!
my JavaScript Intellisense is broken in Visual Studio 2017. I know my _references.js file is correct as JS Intellisense works fine in VS2015.
Any help is greatly appreciated!
Share Improve this question asked Mar 8, 2017 at 0:07 webbersmakwebbersmak 1831 silver badge4 bronze badges 2- Did you used the VS 2017 RC or VS 2017 RTM version which was released on March 7? How did you added the _references.js file into your project? – Sara Liu - MSFT Commented Mar 8, 2017 at 9:25
- I am using VS 2017 RTM version which was released on March 7. I added _references.js file by right clicking on "scripts" folder and adding new JavaScript file. I also notice that window.intellisense doesn't exist!! – webbersmak Commented Mar 8, 2017 at 16:47
1 Answer
Reset to default 21You no longer need a _references.js
file. IntelliSense in VS 2017 works a little differently than it used to.
Are you trying to use a specific library or just get IntelliSense from your own code? If it's a library, it needs to have a .d.ts
file. If it is your own code, it might depend on if you are using a module system or not.
You can read more about how it works here: https://learn.microsoft.com/en-us/visualstudio/ide/javascript-intellisense