We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9db572a commit f216365Copy full SHA for f216365
src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.ts
@@ -146,7 +146,7 @@ export class InlineCompletionsController extends Disposable {
146
}
147
const m = this.model.get();
148
if (!m) { return; }
149
- if (m.inlineCompletionState.get()?.primaryGhostText) {
+ if (m.state.get()?.kind === 'ghostText') {
150
this.model.get()?.stop();
151
} else if (m.state.get()?.inlineCompletion) {
152
this.model.get()?.collapseInlineEdit();
0 commit comments