@@ -358,6 +358,9 @@ import { MonacoEditorMenuContribution as TheiaMonacoEditorMenuContribution } fro
358
358
import { UpdateArduinoState } from './contributions/update-arduino-state' ;
359
359
import { TerminalFrontendContribution } from './theia/terminal/terminal-frontend-contribution' ;
360
360
import { TerminalFrontendContribution as TheiaTerminalFrontendContribution } from '@theia/terminal/lib/browser/terminal-frontend-contribution' ;
361
+ import { SelectionService } from '@theia/core/lib/common/selection-service' ;
362
+ import { CommandService } from '@theia/core/lib/common/command' ;
363
+ import { CorePreferences } from '@theia/core/lib/browser/core-preferences' ;
361
364
362
365
// Hack to fix copy/cut/paste issue after electron version update in Theia.
363
366
// https://github.com/eclipse-theia/theia/issues/12487
@@ -796,10 +799,19 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
796
799
) ;
797
800
const iconThemeService =
798
801
context . container . get < IconThemeService > ( IconThemeService ) ;
802
+ const selectionService =
803
+ context . container . get < SelectionService > ( SelectionService ) ;
804
+ const commandService =
805
+ context . container . get < CommandService > ( CommandService ) ;
806
+ const corePreferences =
807
+ context . container . get < CorePreferences > ( CorePreferences ) ;
799
808
return new TabBarRenderer (
800
809
contextMenuRenderer ,
801
810
decoratorService ,
802
- iconThemeService
811
+ iconThemeService ,
812
+ selectionService ,
813
+ commandService ,
814
+ corePreferences
803
815
) ;
804
816
} ) ;
805
817
0 commit comments