File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/vs/editor/contrib/inlineCompletions/browser Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ export class InlineCompletionContextKeys extends Disposable {
3232 const model = this . model . read ( reader ) ;
3333 const suggestion = model ?. selectedInlineCompletion . read ( reader ) ;
3434 const ghostText = model ?. ghostText . read ( reader ) ;
35- const selectedSuggestItem = model ?. selectedSuggestItem . read ( reader ) ;
36- this . inlineCompletionVisible . set ( selectedSuggestItem === undefined && ghostText !== undefined && ! ghostText . isEmpty ( ) ) ;
35+ this . inlineCompletionVisible . set ( ghostText !== undefined && ! ghostText . isEmpty ( ) ) ;
3736
3837 if ( ghostText && suggestion ) {
3938 this . suppressSuggestions . set ( suggestion . inlineCompletion . source . inlineCompletions . suppressSuggestions ) ;
You can’t perform that action at this time.
0 commit comments