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

Edited Issue: require intellisense autocompletes too aggressively [996]

$
0
0
When you require a file in your project, such as:
```
var mymod = require('./mymod');

```
When you type open paren, you'll get the completions.

Problem 1: At that point, if you type . the completion list goes away, instead of going to the first item that starts with a dot '.'. If you compare to typing 'h', where the list filters to the items that start with h like http. It seems that for modules relative to the project, you have to type a single quote, where as for global modules you don't.

Problem 2: If you type a single quote, followed by a dot, then a forward slash, then it autocompletes to the first item in the list (that starts with a dot), even if it's ambiguous. Typing the forward slash shouldn't do this.


Viewing all articles
Browse latest Browse all 4630

Trending Articles



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