in src/view/completion-view.js [42:48]
hint(mirror, self, data) {
if (!this.completion[IMPORT_NAME] || this.completion.hasOtherImports) {
this.completeText(mirror, this.completion.text);
} else {
this.addImport(mirror);
}
}