File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
codeEditor/browser/emptyTextEditorHint
notebook/browser/contrib/editorHint Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export class EmptyTextEditorHintContribution implements IEditorContribution {
69
69
@IInlineChatSessionService inlineChatSessionService : IInlineChatSessionService ,
70
70
@IInlineChatService protected readonly inlineChatService : IInlineChatService ,
71
71
@ITelemetryService private readonly telemetryService : ITelemetryService ,
72
- @IProductService private readonly productService : IProductService ,
72
+ @IProductService protected readonly productService : IProductService ,
73
73
) {
74
74
this . toDispose = [ ] ;
75
75
this . toDispose . push ( this . editor . onDidChangeModel ( ( ) => this . update ( ) ) ) ;
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ export class EmptyCellEditorHintContribution extends EmptyTextEditorHintContribu
54
54
}
55
55
56
56
protected override _shouldRenderHint ( ) : boolean {
57
+ // TODO@rebornix , remove this when we have a better way to present the editor hints in empty cells
58
+ if ( this . productService . quality === 'stable' ) {
59
+ return false ;
60
+ }
61
+
57
62
const shouldRenderHint = super . _shouldRenderHint ( ) ;
58
63
if ( ! shouldRenderHint ) {
59
64
return false ;
You can’t perform that action at this time.
0 commit comments