Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Issue: Intellisense Requiring Files [583]

$
0
0
I have a problem with intellisense not working when I require a file using path.resolve or join. This seems to kill the intellisense for everything Except core node objects. All local vars a missing. If I pull out the path.resolve from the require statement then it works.

Example Not working:
var email = require(path.resolve('./util/email'));

Example working:
var email = require('./util/email');

Both work when executing code. Just no intellisense.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>