@@ -271,6 +271,12 @@ import {
271
271
IDEUpdaterDialogWidget ,
272
272
} from './dialogs/ide-updater/ide-updater-dialog' ;
273
273
import { ElectronIpcConnectionProvider } from '@theia/core/lib/electron-browser/messaging/electron-ipc-connection-provider' ;
274
+ import { DefaultJsonSchemaContribution } from './theia/core/json-schema-store' ;
275
+ import { DefaultJsonSchemaContribution as TheiaDefaultJsonSchemaContribution } from '@theia/core/lib/browser/json-schema-store' ;
276
+ import { EditorNavigationContribution } from './theia/editor/editor-navigation-contribution' ;
277
+ import { EditorNavigationContribution as TheiaEditorNavigationContribution } from '@theia/editor/lib/browser/editor-navigation-contribution' ;
278
+ import { PreferenceTreeGenerator } from './theia/preferences/preference-tree-generator' ;
279
+ import { PreferenceTreeGenerator as TheiaPreferenceTreeGenerator } from '@theia/preferences/lib/browser/util/preference-tree-generator' ;
274
280
275
281
MonacoThemingService . register ( {
276
282
id : 'arduino-theme' ,
@@ -669,6 +675,21 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
669
675
bind ( NavigatorTabBarDecorator ) . toSelf ( ) . inSingletonScope ( ) ;
670
676
rebind ( TheiaNavigatorTabBarDecorator ) . toService ( NavigatorTabBarDecorator ) ;
671
677
678
+ // Do not fetch the `catalog.json` from Azure on FE load.
679
+ bind ( DefaultJsonSchemaContribution ) . toSelf ( ) . inSingletonScope ( ) ;
680
+ rebind ( TheiaDefaultJsonSchemaContribution ) . toService (
681
+ DefaultJsonSchemaContribution
682
+ ) ;
683
+
684
+ // Do not block the app startup when initializing the editor navigation history.
685
+ bind ( EditorNavigationContribution ) . toSelf ( ) . inSingletonScope ( ) ;
686
+ rebind ( TheiaEditorNavigationContribution ) . toService (
687
+ EditorNavigationContribution
688
+ ) ;
689
+
690
+ bind ( PreferenceTreeGenerator ) . toSelf ( ) . inSingletonScope ( )
691
+ rebind ( TheiaPreferenceTreeGenerator ) . toService ( PreferenceTreeGenerator ) ;
692
+
672
693
// To avoid running `Save All` when there are no dirty editors before starting the debug session.
673
694
bind ( DebugSessionManager ) . toSelf ( ) . inSingletonScope ( ) ;
674
695
rebind ( TheiaDebugSessionManager ) . toService ( DebugSessionManager ) ;
0 commit comments