@@ -278,76 +278,50 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
278
278
"coder.login" ,
279
279
commands . login . bind ( commands ) ,
280
280
) ,
281
- ) ;
282
- ctx . subscriptions . push (
283
281
vscode . commands . registerCommand (
284
282
"coder.logout" ,
285
283
commands . logout . bind ( commands ) ,
286
284
) ,
287
- ) ;
288
- ctx . subscriptions . push (
289
285
vscode . commands . registerCommand ( "coder.open" , commands . open . bind ( commands ) ) ,
290
- ) ;
291
- ctx . subscriptions . push (
292
286
vscode . commands . registerCommand (
293
287
"coder.openDevContainer" ,
294
288
commands . openDevContainer . bind ( commands ) ,
295
289
) ,
296
- ) ;
297
- ctx . subscriptions . push (
298
290
vscode . commands . registerCommand (
299
291
"coder.openFromSidebar" ,
300
292
commands . openFromSidebar . bind ( commands ) ,
301
293
) ,
302
- ) ;
303
- ctx . subscriptions . push (
304
294
vscode . commands . registerCommand (
305
295
"coder.openAppStatus" ,
306
296
commands . openAppStatus . bind ( commands ) ,
307
297
) ,
308
- ) ;
309
- ctx . subscriptions . push (
310
298
vscode . commands . registerCommand (
311
299
"coder.workspace.update" ,
312
300
commands . updateWorkspace . bind ( commands ) ,
313
301
) ,
314
- ) ;
315
- ctx . subscriptions . push (
316
302
vscode . commands . registerCommand (
317
303
"coder.createWorkspace" ,
318
304
commands . createWorkspace . bind ( commands ) ,
319
305
) ,
320
- ) ;
321
- ctx . subscriptions . push (
322
306
vscode . commands . registerCommand (
323
307
"coder.navigateToWorkspace" ,
324
308
commands . navigateToWorkspace . bind ( commands ) ,
325
309
) ,
326
- ) ;
327
- ctx . subscriptions . push (
328
310
vscode . commands . registerCommand (
329
311
"coder.navigateToWorkspaceSettings" ,
330
312
commands . navigateToWorkspaceSettings . bind ( commands ) ,
331
313
) ,
332
- ) ;
333
- ctx . subscriptions . push (
334
314
vscode . commands . registerCommand ( "coder.refreshWorkspaces" , ( ) => {
335
315
myWorkspacesProvider . fetchAndRefresh ( ) ;
336
316
allWorkspacesProvider . fetchAndRefresh ( ) ;
337
317
} ) ,
338
- ) ;
339
- ctx . subscriptions . push (
340
318
vscode . commands . registerCommand (
341
319
"coder.viewLogs" ,
342
320
commands . viewLogs . bind ( commands ) ,
343
321
) ,
344
- ) ;
345
- ctx . subscriptions . push (
346
322
vscode . commands . registerCommand ( "coder.searchMyWorkspaces" , async ( ) =>
347
323
showTreeViewSearch ( MY_WORKSPACES_TREE_ID ) ,
348
324
) ,
349
- ) ;
350
- ctx . subscriptions . push (
351
325
vscode . commands . registerCommand ( "coder.searchAllWorkspaces" , async ( ) =>
352
326
showTreeViewSearch ( ALL_WORKSPACES_TREE_ID ) ,
353
327
) ,
0 commit comments