Type:
```
require('htt
```
Use Esc to dismiss the completion list for modules, then immediately re-trigger it by pressing Ctrl+Space.
The new list has two problems. First, it shows all package names, not just those that start with "htt". Furthermore, if you actually select some package from the list (e.g. "http"), it appends the name to what's already typed, producing:
```
require('htthttp'
```
The expected behavior in this case is to replace the name with the new selection.
For comparison, observe how this works for regular completion. E.g. type:
```
console.to
```
Dismiss the completion list and re-trigger it. You will only see members with `to` in the name, and selecting one from the list will replace "to" with the selection.
```
require('htt
```
Use Esc to dismiss the completion list for modules, then immediately re-trigger it by pressing Ctrl+Space.
The new list has two problems. First, it shows all package names, not just those that start with "htt". Furthermore, if you actually select some package from the list (e.g. "http"), it appends the name to what's already typed, producing:
```
require('htthttp'
```
The expected behavior in this case is to replace the name with the new selection.
For comparison, observe how this works for regular completion. E.g. type:
```
console.to
```
Dismiss the completion list and re-trigger it. You will only see members with `to` in the name, and selecting one from the list will replace "to" with the selection.