mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-15 07:28:05 +00:00
committed by
GitHub
parent
1a7a159d91
commit
6d941ed1c2
@@ -282,7 +282,7 @@ export class InlineCompletionsModel extends Disposable {
|
||||
let inlineEdit: InlineCompletionWithUpdatedRange | undefined = undefined;
|
||||
const visibleCompletions: InlineCompletionWithUpdatedRange[] = [];
|
||||
for (const completion of c.inlineCompletions) {
|
||||
if (!(completion.sourceInlineCompletion.isInlineEdit || completion.sourceInlineCompletion.showInlineEditMenu)) {
|
||||
if (!completion.sourceInlineCompletion.isInlineEdit) {
|
||||
if (completion.isVisible(this.textModel, cursorPosition, reader)) {
|
||||
visibleCompletions.push(completion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user