mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-22 13:13:08 +01:00
+1
-1
@@ -146,7 +146,7 @@ export class InlineCompletionsController extends Disposable {
|
||||
}
|
||||
const m = this.model.get();
|
||||
if (!m) { return; }
|
||||
if (m.inlineCompletionState.get()?.primaryGhostText) {
|
||||
if (m.state.get()?.kind === 'ghostText') {
|
||||
this.model.get()?.stop();
|
||||
} else if (m.state.get()?.inlineCompletion) {
|
||||
this.model.get()?.collapseInlineEdit();
|
||||
|
||||
Reference in New Issue
Block a user