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!
You 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://docs.microsoft.com/en-us/visualstudio/ide/javascript-intellisense
It's a feature not bug. Microsoft force developer to use modular-based JavaScript instead of prototype-based JavaScript. Your global object or method extension for built-in object should not work any more. Thanks to Microsoft.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.