webbersmak
webbersmak

Reputation: 183

Does Visual Studio 2017 support a _references.js file?

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!

Upvotes: 17

Views: 7494

Answers (1)

Bowden Kelly
Bowden Kelly

Reputation: 370

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://learn.microsoft.com/en-us/visualstudio/ide/javascript-intellisense

Upvotes: 21

Related Questions