Skip to content

Commit d2f642f

Browse files
committed
Remove commented code
1 parent e5883dc commit d2f642f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ import {
2626
ShowMessageRequest,
2727
ShowMessageRequestParams,
2828
ConnectionMetadata,
29-
// ShowDocumentResult,
30-
// ShowDocumentRequest,
31-
// ShowDocumentParams,
3229
} from '@aws/language-server-runtimes/protocol'
3330
import { AuthUtil, CodeWhispererSettings, getSelectedCustomization } from 'aws-core-vscode/codewhisperer'
3431
import {
@@ -44,7 +41,6 @@ import {
4441
isAmazonInternalOs,
4542
fs,
4643
oidcClientName,
47-
//openUrl,
4844
} from 'aws-core-vscode/shared'
4945
import { processUtils } from 'aws-core-vscode/shared'
5046
import { activate } from './chat/activation'
@@ -190,15 +186,6 @@ export async function startLanguageServer(
190186
}
191187
)
192188

193-
// client.onRequest<ShowDocumentResult, Error>(ShowDocumentRequest.method, async (params: ShowDocumentParams) => {
194-
// try {
195-
// return { success: await openUrl(vscode.Uri.parse(params.uri), lspName) }
196-
// } catch (err: any) {
197-
// getLogger().error(`Failed to open document for LSP: ${lspName}, error: %s`, err)
198-
// return { success: false }
199-
// }
200-
// })
201-
202189
const sendProfileToLsp = async () => {
203190
try {
204191
const result = await client.sendRequest(updateConfigurationRequestType.method, {

0 commit comments

Comments
 (0)