File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export class EmptyTextEditorHintContribution implements IEditorContribution {
66
66
@ICommandService private readonly commandService : ICommandService ,
67
67
@IConfigurationService protected readonly configurationService : IConfigurationService ,
68
68
@IKeybindingService private readonly keybindingService : IKeybindingService ,
69
- @IInlineChatSessionService inlineChatSessionService : IInlineChatSessionService ,
69
+ @IInlineChatSessionService private readonly inlineChatSessionService : IInlineChatSessionService ,
70
70
@IInlineChatService protected readonly inlineChatService : IInlineChatService ,
71
71
@ITelemetryService private readonly telemetryService : ITelemetryService ,
72
72
@IProductService protected readonly productService : IProductService ,
@@ -108,6 +108,10 @@ export class EmptyTextEditorHintContribution implements IEditorContribution {
108
108
return false ;
109
109
}
110
110
111
+ if ( this . inlineChatSessionService . getSession ( this . editor , model . uri ) ) {
112
+ return false ;
113
+ }
114
+
111
115
const conflictingDecoration = this . editor . getLineDecorations ( 1 ) ?. find ( ( d ) =>
112
116
d . options . beforeContentClassName
113
117
|| d . options . afterContentClassName
You can’t perform that action at this time.
0 commit comments