@@ -271,8 +271,8 @@ import { MonitorModel } from './monitor-model';
271
271
import { MonitorManagerProxyClientImpl } from './monitor-manager-proxy-client-impl' ;
272
272
import { EditorManager as TheiaEditorManager } from '@theia/editor/lib/browser/editor-manager' ;
273
273
import { EditorManager } from './theia/editor/editor-manager' ;
274
- import { HostedPluginEvents } from './hosted-plugin-events' ;
275
- import { HostedPluginSupport } from './theia/plugin-ext/hosted-plugin' ;
274
+ import { HostedPluginEvents } from './hosted/hosted -plugin-events' ;
275
+ import { HostedPluginSupportImpl } from './theia/plugin-ext/hosted-plugin' ;
276
276
import { HostedPluginSupport as TheiaHostedPluginSupport } from '@theia/plugin-ext/lib/hosted/browser/hosted-plugin' ;
277
277
import { Formatter , FormatterPath } from '../common/protocol/formatter' ;
278
278
import { Format } from './contributions/format' ;
@@ -361,6 +361,7 @@ import { TerminalFrontendContribution as TheiaTerminalFrontendContribution } fro
361
361
import { SelectionService } from '@theia/core/lib/common/selection-service' ;
362
362
import { CommandService } from '@theia/core/lib/common/command' ;
363
363
import { CorePreferences } from '@theia/core/lib/browser/core-preferences' ;
364
+ import { HostedPluginSupport } from './hosted/hosted-plugin-support' ;
364
365
365
366
// Hack to fix copy/cut/paste issue after electron version update in Theia.
366
367
// https://github.com/eclipse-theia/theia/issues/12487
@@ -982,8 +983,9 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
982
983
} )
983
984
. inSingletonScope ( ) ;
984
985
985
- bind ( HostedPluginSupport ) . toSelf ( ) . inSingletonScope ( ) ;
986
- rebind ( TheiaHostedPluginSupport ) . toService ( HostedPluginSupport ) ;
986
+ bind ( HostedPluginSupportImpl ) . toSelf ( ) . inSingletonScope ( ) ;
987
+ bind ( HostedPluginSupport ) . toService ( HostedPluginSupportImpl ) ;
988
+ rebind ( TheiaHostedPluginSupport ) . toService ( HostedPluginSupportImpl ) ;
987
989
bind ( HostedPluginEvents ) . toSelf ( ) . inSingletonScope ( ) ;
988
990
bind ( FrontendApplicationContribution ) . toService ( HostedPluginEvents ) ;
989
991
0 commit comments