File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
66import vscode , { env , version } from 'vscode'
77import * as nls from 'vscode-nls'
8- import * as crypto from 'crypto'
98import { LanguageClient , LanguageClientOptions , RequestType , State } from 'vscode-languageclient'
109import { InlineCompletionManager } from '../app/inline/completion'
1110import { AmazonQLspAuth , encryptionKey , notificationTypes } from './auth'
@@ -34,6 +33,7 @@ import {
3433 getOptOutPreference ,
3534 isAmazonInternalOs ,
3635 fs ,
36+ getClientId ,
3737} from 'aws-core-vscode/shared'
3838import { processUtils } from 'aws-core-vscode/shared'
3939import { activate } from './chat/activation'
@@ -120,7 +120,7 @@ export async function startLanguageServer(
120120 name : 'AmazonQ-For-VSCode' ,
121121 version : '0.0.1' ,
122122 } ,
123- clientId : crypto . randomUUID ( ) ,
123+ clientId : getClientId ( globals . globalState ) ,
124124 } ,
125125 awsClientCapabilities : {
126126 q : {
You can’t perform that action at this time.
0 commit comments