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

Created Issue: missing completions and parameter help for restify [963]

$
0
0
In the following code:
```
var restify = require('restify');

var server = restify.createServer({
name: 'myapp',
version: '1.0.0'
});
server.use(restify.acceptParser(server.acceptable));
server.use(restify.queryParser());
server.use(restify.bodyParser());

server.get('/echo/:name', function (req, res, next) {
res.send(req.params);
return next();
});

server.listen(8080, function () {
console.log('%s listening at %s', server.name, server.url);
});

```

The functions acceptParser, queryParser, bodyParser are missing on restify.

The server.use function doesn't show any parameters in the signature tooltip.



Viewing all articles
Browse latest Browse all 4630

Latest Images

Trending Articles



Latest Images

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