According to the docs
IntelliSense across CommonJS and AMD modules inside your project folders is enabled by understanding your code.
Does anyone have more information about how to get this to work? I've tried adding the following to my workspace settings.json file, but no joy.
"javascript.validate.module": "amd"
Thanks
Try to set "javascript.validate.baseUrl" setting.
// Allows to configure the base url that is used to resolve module references (http://requirejs.org/docs/api.html#config-baseUrl). This options applies only to projects that use the asynchronous module definition ("module": "amd").
"javascript.validate.baseUrl": "",
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