Skip to content

Commit 6dbb21e

Browse files
authored
fix(amazonq): fix extension name in lsp initialization (aws#7189)
## Problem the extension name doesn't match what flare expects: https://github.com/aws/language-servers/blob/main/server/aws-lsp-codewhisperer/src/shared/telemetryUtils.ts#L50 ## Solution update it --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent db673c9 commit 6dbb21e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import {
2323
import { AuthUtil, CodeWhispererSettings, getSelectedCustomization } from 'aws-core-vscode/codewhisperer'
2424
import {
2525
Settings,
26-
oidcClientName,
2726
createServerOptions,
2827
globals,
2928
Experiments,
@@ -95,7 +94,7 @@ export async function startLanguageServer(
9594
name: env.appName,
9695
version: version,
9796
extension: {
98-
name: oidcClientName(),
97+
name: 'AmazonQ-For-VSCode',
9998
version: '0.0.1',
10099
},
101100
clientId: crypto.randomUUID(),

0 commit comments

Comments
 (0)