@@ -107,6 +107,7 @@ class RemoteEmptyWorkbenchPresentation extends Disposable implements IWorkbenchC
107
107
@IWorkspaceContextService contextService : IWorkspaceContextService
108
108
) {
109
109
super ( ) ;
110
+ console . log ( 'XXXXX' ) ;
110
111
111
112
function shouldShowExplorer ( ) : boolean {
112
113
const startupEditor = configurationService . getValue < string > ( 'workbench.startupEditor' ) ;
@@ -119,6 +120,7 @@ class RemoteEmptyWorkbenchPresentation extends Disposable implements IWorkbenchC
119
120
120
121
const { remoteAuthority, filesToDiff, filesToMerge, filesToOpenOrCreate, filesToWait } = environmentService ;
121
122
if ( remoteAuthority && contextService . getWorkbenchState ( ) === WorkbenchState . EMPTY && ! filesToDiff ?. length && ! filesToMerge ?. length && ! filesToOpenOrCreate ?. length && ! filesToWait ) {
123
+ console . log ( 'XXXXX' ) ;
122
124
remoteAuthorityResolverService . resolveAuthority ( remoteAuthority ) . then ( ( ) => {
123
125
if ( shouldShowExplorer ( ) ) {
124
126
commandService . executeCommand ( 'workbench.view.explorer' ) ;
@@ -135,7 +137,7 @@ const workbenchContributionsRegistry = Registry.as<IWorkbenchContributionsRegist
135
137
workbenchContributionsRegistry . registerWorkbenchContribution ( RemoteAgentDiagnosticListener , 'RemoteAgentDiagnosticListener' , LifecyclePhase . Eventually ) ;
136
138
workbenchContributionsRegistry . registerWorkbenchContribution ( RemoteExtensionHostEnvironmentUpdater , 'RemoteExtensionHostEnvironmentUpdater' , LifecyclePhase . Eventually ) ;
137
139
workbenchContributionsRegistry . registerWorkbenchContribution ( RemoteTelemetryEnablementUpdater , 'RemoteTelemetryEnablementUpdater' , LifecyclePhase . Ready ) ;
138
- workbenchContributionsRegistry . registerWorkbenchContribution ( RemoteEmptyWorkbenchPresentation , 'RemoteEmptyWorkbenchPresentation' , LifecyclePhase . Starting ) ;
140
+ workbenchContributionsRegistry . registerWorkbenchContribution ( RemoteEmptyWorkbenchPresentation , 'RemoteEmptyWorkbenchPresentation' , LifecyclePhase . Ready ) ;
139
141
140
142
Registry . as < IConfigurationRegistry > ( ConfigurationExtensions . Configuration )
141
143
. registerConfiguration ( {
0 commit comments