@@ -180,7 +180,7 @@ import { TabBarRenderer } from './theia/core/tab-bars';
180
180
import { EditorCommandContribution } from './theia/editor/editor-command' ;
181
181
import { NavigatorTabBarDecorator as TheiaNavigatorTabBarDecorator } from '@theia/navigator/lib/browser/navigator-tab-bar-decorator' ;
182
182
import { NavigatorTabBarDecorator } from './theia/navigator/navigator-tab-bar-decorator' ;
183
- import { Debug } from './contributions/debug' ;
183
+ import { Debug , DebugDisabledStatusMessageSource } from './contributions/debug' ;
184
184
import { Sketchbook } from './contributions/sketchbook' ;
185
185
import { DebugFrontendApplicationContribution } from './theia/debug/debug-frontend-application-contribution' ;
186
186
import { DebugFrontendApplicationContribution as TheiaDebugFrontendApplicationContribution } from '@theia/debug/lib/browser/debug-frontend-application-contribution' ;
@@ -365,7 +365,8 @@ import { AutoSelectProgrammer } from './contributions/auto-select-programmer';
365
365
import { HostedPluginSupport } from './hosted/hosted-plugin-support' ;
366
366
import { DebugSessionManager as TheiaDebugSessionManager } from '@theia/debug/lib/browser/debug-session-manager' ;
367
367
import { DebugSessionManager } from './theia/debug/debug-session-manager' ;
368
- import { DebugWidget } from '@theia/debug/lib/browser/view/debug-widget' ;
368
+ import { DebugWidget as TheiaDebugWidget } from '@theia/debug/lib/browser/view/debug-widget' ;
369
+ import { DebugWidget } from './theia/debug/debug-widget' ;
369
370
import { DebugViewModel } from '@theia/debug/lib/browser/view/debug-view-model' ;
370
371
import { DebugSessionWidget } from '@theia/debug/lib/browser/view/debug-session-widget' ;
371
372
import { DebugConfigurationWidget } from './theia/debug/debug-configuration-widget' ;
@@ -771,6 +772,8 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
771
772
bindContributionProvider ( bind , StartupTaskProvider ) ;
772
773
bind ( StartupTaskProvider ) . toService ( BoardsServiceProvider ) ; // to reuse the boards config in another window
773
774
775
+ bind ( DebugDisabledStatusMessageSource ) . toService ( Debug ) ;
776
+
774
777
// Disabled the quick-pick customization from Theia when multiple formatters are available.
775
778
// Use the default VS Code behavior, and pick the first one. In the IDE2, clang-format has `exclusive` selectors.
776
779
bind ( MonacoFormattingConflictsContribution ) . toSelf ( ) . inSingletonScope ( ) ;
@@ -874,7 +877,7 @@ export default new ContainerModule((bind, unbind, isBound, rebind) => {
874
877
// Customized debug widget with its customized config <select> to update it programmatically.
875
878
bind ( WidgetFactory )
876
879
. toDynamicValue ( ( { container } ) => ( {
877
- id : DebugWidget . ID ,
880
+ id : TheiaDebugWidget . ID ,
878
881
createWidget : ( ) => {
879
882
const child = new Container ( { defaultScope : 'Singleton' } ) ;
880
883
child . parent = container ;
0 commit comments