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

Closed Issue: Not getting intellisense on http.CreateServer.listen [1450]

$
0
0
NTVS 21020.00
VS2013 update4 RC

We are not getting autocomplete on .listen(port) in the following code.

```
var http = require('http');

var port = process.env.port || 1337;
http.createServer(function (req, res) {
res.writeHead(200, { 'content-type': 'text/plain' });
res.end('hello world\n');
}).listen(port);
```

Comments: Verified in build 21022.00. Fixed. Closing.

Viewing all articles
Browse latest Browse all 4630

Trending Articles



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