@@ -11,7 +11,6 @@ import { ExperimentalSettings } from './experiments';
1111import GitpodServer from './authentication/gitpodServer' ;
1212import { NotificationService } from './services/notificationService' ;
1313import { RemoteConnector } from './remoteConnector' ;
14- import { SettingsSync } from './settingsSync' ;
1514import { TelemetryService } from './services/telemetryService' ;
1615import { RemoteSession } from './remoteSession' ;
1716import { SSHConnectionParams , getGitpodRemoteWindowConnectionInfo } from './remote' ;
@@ -24,6 +23,7 @@ import { Configuration } from './configuration';
2423import { RemoteService } from './services/remoteService' ;
2524import { WorkspacesExplorerView } from './workspacesExplorerView' ;
2625import { WorkspaceView } from './workspaceView' ;
26+ import { InstallLocalExtensionsOnRemote } from './commands/extensions' ;
2727
2828// connect-web uses fetch api, so we need to polyfill it
2929if ( ! global . fetch ) {
@@ -89,9 +89,6 @@ export async function activate(context: vscode.ExtensionContext) {
8989 const experiments = new ExperimentalSettings ( packageJSON . configcatKey , packageJSON . version , context , sessionService , hostService , logger ) ;
9090 context . subscriptions . push ( experiments ) ;
9191
92- const settingsSync = new SettingsSync ( commandManager , logger , telemetryService , notificationService ) ;
93- context . subscriptions . push ( settingsSync ) ;
94-
9592 const remoteConnector = new RemoteConnector ( context , sessionService , hostService , experiments , logger , telemetryService , notificationService , remoteService ) ;
9693 context . subscriptions . push ( remoteConnector ) ;
9794
@@ -119,6 +116,7 @@ export async function activate(context: vscode.ExtensionContext) {
119116
120117 // Register global commands
121118 commandManager . register ( new SignInCommand ( sessionService ) ) ;
119+ commandManager . register ( new InstallLocalExtensionsOnRemote ( remoteService ) ) ;
122120 commandManager . register ( new ExportLogsCommand ( context . logUri , notificationService , telemetryService , logger , hostService ) ) ;
123121
124122 if ( ! context . globalState . get < boolean > ( FIRST_INSTALL_KEY , false ) ) {
0 commit comments