Skip to content

Commit 78dbb83

Browse files
committed
fixup
1 parent 4dcd50a commit 78dbb83

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

packages/amazonq/src/lsp/activation.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,5 @@ export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
1212
const serverPath = ctx.asAbsolutePath('resources/qdeveloperserver')
1313
const clientPath = ctx.asAbsolutePath('resources/qdeveloperclient')
1414
await new AmazonQLSPDownloader(serverPath, clientPath).tryInstallLsp()
15-
16-
/**
17-
* at this point the language server should be installed and available
18-
* at serverPath and mynah ui should be available and serveable at
19-
* clientPath
20-
*
21-
* TODO: actually hook up the language server
22-
*/
2315
await startLanguageServer(ctx, path.join(serverPath, 'aws-lsp-codewhisperer.js'))
2416
}

packages/amazonq/src/lsp/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const notificationTypes = {
6161
/**
6262
* Facade over our VSCode Auth that does crud operations on the language server auth
6363
*/
64-
export class AmazonQLSPAuth {
64+
export class AmazonQLspAuth {
6565
constructor(private readonly client: LanguageClient) {}
6666

6767
async init() {

packages/amazonq/src/lsp/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import * as cp from 'child_process'
99
import * as crypto from 'crypto'
1010
import { LanguageClient, LanguageClientOptions, ServerOptions, TransportKind } from 'vscode-languageclient'
1111
import { registerInlineCompletion } from '../inline/completion'
12-
import { AmazonQLSPAuth, notificationTypes, writeEncryptionInit } from './auth'
12+
import { AmazonQLspAuth, notificationTypes, writeEncryptionInit } from './auth'
1313
import { AuthUtil } from 'aws-core-vscode/codewhisperer'
1414
import { ConnectionMetadata } from '@aws/language-server-runtimes/protocol'
1515
import { registerChat } from '../chat/activation'
@@ -82,7 +82,7 @@ export function startLanguageServer(extensionContext: vscode.ExtensionContext, s
8282
const disposable = client.start()
8383
toDispose.push(disposable)
8484

85-
const auth = new AmazonQLSPAuth(client)
85+
const auth = new AmazonQLspAuth(client)
8686

8787
return client.onReady().then(async () => {
8888
await auth.init()

0 commit comments

Comments
 (0)