From 00387baef5fbd2db80a6ab02ff311ee20f683fae Mon Sep 17 00:00:00 2001 From: sockmaster27 <61235930+sockmaster27@users.noreply.github.com> Date: Wed, 21 Aug 2024 11:27:20 +0200 Subject: [PATCH] chore: remove `internalRestart` and `internalDownloadLatest` --- client/src/engine/jobs.ts | 2 -- client/src/extension.ts | 2 -- server/src/engine/jobs.ts | 2 -- 3 files changed, 6 deletions(-) diff --git a/client/src/engine/jobs.ts b/client/src/engine/jobs.ts index cea1f79..066e5bc 100644 --- a/client/src/engine/jobs.ts +++ b/client/src/engine/jobs.ts @@ -47,8 +47,6 @@ export enum Request { lspWorkspaceSymbols = 'lsp/workspaceSymbols', lspShowAst = 'lsp/showAst', - internalRestart = 'ext/restart', // Internal Extension Request - internalDownloadLatest = 'ext/downloadLatest', // Internal Extension Request internalReady = 'ext/ready', // Internal Extension Request internalMessage = 'ext/message', // Internal Extension Request internalError = 'ext/error', // Internal Extension Request diff --git a/client/src/extension.ts b/client/src/extension.ts index 89087e9..85416e9 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -270,8 +270,6 @@ async function startSession( client.onNotification(jobs.Request.internalDiagnostics, handlePrintDiagnostics) - client.onNotification(jobs.Request.internalRestart, makeHandleRestartClient(context)) - client.onNotification(jobs.Request.internalMessage, vscode.window.showInformationMessage) client.onNotification(jobs.Request.internalError, handleError) diff --git a/server/src/engine/jobs.ts b/server/src/engine/jobs.ts index 8647b75..0dccef9 100644 --- a/server/src/engine/jobs.ts +++ b/server/src/engine/jobs.ts @@ -50,8 +50,6 @@ export enum Request { lspSemanticTokens = 'lsp/semanticTokens', lspShowAst = 'lsp/showAst', - internalRestart = 'ext/restart', // Internal Extension Request - internalDownloadLatest = 'ext/downloadLatest', // Internal Extension Request internalReady = 'ext/ready', // Internal Extension Request internalMessage = 'ext/message', // Internal Extension Request internalError = 'ext/error', // Internal Extension Request