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

Created Issue: Incomplete intellisense list for package "less" [1213]

$
0
0
1. Install package 'less'
2. type the following code:

```
var less = require('less');
less.render('.class {width: (1+1)}', function (e, css) {
console.log(css);
});

var parser = new (less.Parser);

parser.parse('.class { width: (1+1) }', function (err, tree) {
if (err) {
return console.error(err)
}
console.log(tree.toCSS());
});
```

Notice that you don't get intellisense on less.render, nor less.Parser. If you try to get the definition for less.render, you get message "Cannot go to definition "less.render". I also noticed that 'less' has quite a list of dependencies, many of which were installed as "optional". Don't know if that made any differences.




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>