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

Commented Issue: Intellisense not showing all properties of request object [1532]

$
0
0
Hi,

I am a new user of nodejs and found the intellisense withing VS amazing to understand node's funtionality without having a book next to me.

when i tried to create a simple http server and was trying to get the methods from the request object i realized i couldnt see all methods and properties.

on example being "request.on( 'data', function (){ //code });"

i can see all in debug mode but not in intellisense. not sure if i am missing an instalation step of if theres some extra config i need to run. any help would be appreciated
Comments: Currently we don't know that the request object is an event emitter object (there's no information in the .json file that describes the built-in APIs that describes base classes). In the future we should probably detect when an object has events and assume it's an EventEmitter instance too.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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