fix(vscode): do not show inline completion when autocomplete widget is visible. (#414)
parent
8955cf0f93
commit
acfdba68fa
|
|
@ -39,6 +39,12 @@ export class TabbyCompletionProvider implements InlineCompletionItemProvider {
|
|||
return emptyResponse;
|
||||
}
|
||||
|
||||
// Check if autocomplete widget is visible
|
||||
if (context.selectedCompletionInfo !== undefined) {
|
||||
console.debug("Autocomplete widget is visible, skipping.");
|
||||
return emptyResponse;
|
||||
}
|
||||
|
||||
const replaceRange = this.calculateReplaceRange(document, position);
|
||||
|
||||
if (this.pendingCompletion) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue