Loading src/common/language_server/language_client_wrapper.ts +5 −0 Original line number Diff line number Diff line Loading @@ -110,6 +110,11 @@ export class LanguageClientWrapper { return vscode.commands.executeCommand('vscode.open', vscode.Uri.file(joinedPath)); }); this.#client.onNotification('$/gitlab/copyText', async ({ text }) => { await vscode.env.clipboard.writeText(text); await vscode.window.showInformationMessage('Copied to clipboard'); }); this.#client.onRequest(AiContextEditorRequests.GIT_DIFF, (params: GitDiffRequest) => { log.debug(`Received git diff request: ${JSON.stringify(params)}`); return this.#handleGitDiffRequest(params); Loading Loading
src/common/language_server/language_client_wrapper.ts +5 −0 Original line number Diff line number Diff line Loading @@ -110,6 +110,11 @@ export class LanguageClientWrapper { return vscode.commands.executeCommand('vscode.open', vscode.Uri.file(joinedPath)); }); this.#client.onNotification('$/gitlab/copyText', async ({ text }) => { await vscode.env.clipboard.writeText(text); await vscode.window.showInformationMessage('Copied to clipboard'); }); this.#client.onRequest(AiContextEditorRequests.GIT_DIFF, (params: GitDiffRequest) => { log.debug(`Received git diff request: ${JSON.stringify(params)}`); return this.#handleGitDiffRequest(params); Loading