@@ -329,6 +329,10 @@ import { ThemeService } from './theia/core/theming';
329
329
import { ThemeService as TheiaThemeService } from '@theia/core/lib/browser/theming' ;
330
330
import { MonacoThemingService } from './theia/monaco/monaco-theming-service' ;
331
331
import { MonacoThemingService as TheiaMonacoThemingService } from '@theia/monaco/lib/browser/monaco-theming-service' ;
332
+ import { TypeHierarchyServiceProvider } from './theia/typehierarchy/type-hierarchy-service' ;
333
+ import { TypeHierarchyServiceProvider as TheiaTypeHierarchyServiceProvider } from '@theia/typehierarchy/lib/browser/typehierarchy-service' ;
334
+ import { TypeHierarchyContribution } from './theia/typehierarchy/type-hierarchy-contribution' ;
335
+ import { TypeHierarchyContribution as TheiaTypeHierarchyContribution } from '@theia/typehierarchy/lib/browser/typehierarchy-contribution' ;
332
336
333
337
export default new ContainerModule ( ( bind , unbind , isBound , rebind ) => {
334
338
// Commands and toolbar items
@@ -951,4 +955,13 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
951
955
rebind ( TheiaThemeService ) . toService ( ThemeService ) ;
952
956
bind ( MonacoThemingService ) . toSelf ( ) . inSingletonScope ( ) ;
953
957
rebind ( TheiaMonacoThemingService ) . toService ( MonacoThemingService ) ;
958
+
959
+ // disable type-hierarchy support
960
+ // https://github.com/eclipse-theia/theia/commit/16c88a584bac37f5cf3cc5eb92ffdaa541bda5be
961
+ bind ( TypeHierarchyServiceProvider ) . toSelf ( ) . inSingletonScope ( ) ;
962
+ rebind ( TheiaTypeHierarchyServiceProvider ) . toService (
963
+ TypeHierarchyServiceProvider
964
+ ) ;
965
+ bind ( TypeHierarchyContribution ) . toSelf ( ) . inSingletonScope ( ) ;
966
+ rebind ( TheiaTypeHierarchyContribution ) . toService ( TypeHierarchyContribution ) ;
954
967
} ) ;
0 commit comments