@@ -24,7 +24,6 @@ import { INotebookEditorDelegate } from '../notebookBrowser.js';
24
24
import { NotebooKernelActionViewItem } from './notebookKernelView.js' ;
25
25
import { ActionViewWithLabel , UnifiedSubmenuActionView } from '../view/cellParts/cellActionView.js' ;
26
26
import { IEditorService } from '../../../../services/editor/common/editorService.js' ;
27
- import { IWorkbenchAssignmentService } from '../../../../services/assignment/common/assignmentService.js' ;
28
27
import { NotebookOptions } from '../notebookOptions.js' ;
29
28
import { IActionViewItem , IActionViewItemProvider } from '../../../../../base/browser/ui/actionbar/actionbar.js' ;
30
29
import { disposableTimeout } from '../../../../../base/common/async.js' ;
@@ -265,7 +264,6 @@ export class NotebookEditorWorkbenchToolbar extends Disposable {
265
264
@IMenuService private readonly menuService : IMenuService ,
266
265
@IEditorService private readonly editorService : IEditorService ,
267
266
@IKeybindingService private readonly keybindingService : IKeybindingService ,
268
- @IWorkbenchAssignmentService private readonly experimentService : IWorkbenchAssignmentService ,
269
267
) {
270
268
super ( ) ;
271
269
@@ -437,18 +435,6 @@ export class NotebookEditorWorkbenchToolbar extends Disposable {
437
435
return ;
438
436
}
439
437
} ) ) ;
440
-
441
- if ( this . experimentService ) {
442
- this . experimentService . getTreatment < boolean > ( 'nbtoolbarineditor' ) . then ( treatment => {
443
- if ( treatment === undefined ) {
444
- return ;
445
- }
446
- if ( this . _useGlobalToolbar !== treatment ) {
447
- this . _useGlobalToolbar = treatment ;
448
- this . _showNotebookActionsinEditorToolbar ( ) ;
449
- }
450
- } ) ;
451
- }
452
438
}
453
439
454
440
private _updateStrategy ( ) {
0 commit comments