Loading src/common/language_server/language_client_wrapper.test.ts +1 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ describe('LanguageClientWrapper', () => { baseUrl: gitlabPlatformForAccount.account.instanceUrl, projectPath: '', token: gitlabPlatformForAccount.account.token, tokenType: 'pat', telemetry: { actions: [{ action: TRACKING_EVENTS.SHOWN }, { action: TRACKING_EVENTS.ACCEPTED }], }, Loading src/common/language_server/language_client_wrapper.ts +6 −1 Original line number Diff line number Diff line Loading @@ -281,7 +281,11 @@ export class LanguageClientWrapperImpl implements LanguageClientWrapper { log.debug(`[auth] Sending empty credentials to language server (no account available)`); } await this.#client.sendNotification(DidChangeConfigurationNotification.type, { settings: { baseUrl: account?.instanceUrl, token: account?.token }, settings: { baseUrl: account?.instanceUrl, token: account?.token, tokenType: account?.type === 'oauth' ? 'oauth' : 'pat', }, }); }; Loading @@ -306,6 +310,7 @@ export class LanguageClientWrapperImpl implements LanguageClientWrapper { const settings: ClientConfig = { baseUrl: platform.account.instanceUrl, token: platform.account.token, tokenType: platform.account.type === 'oauth' ? 'oauth' : 'pat', telemetry: { trackingUrl: extensionConfiguration.trackingUrl, enabled: this.#telemetryEnvironment.isTelemetryEnabled(), Loading Loading
src/common/language_server/language_client_wrapper.test.ts +1 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ describe('LanguageClientWrapper', () => { baseUrl: gitlabPlatformForAccount.account.instanceUrl, projectPath: '', token: gitlabPlatformForAccount.account.token, tokenType: 'pat', telemetry: { actions: [{ action: TRACKING_EVENTS.SHOWN }, { action: TRACKING_EVENTS.ACCEPTED }], }, Loading
src/common/language_server/language_client_wrapper.ts +6 −1 Original line number Diff line number Diff line Loading @@ -281,7 +281,11 @@ export class LanguageClientWrapperImpl implements LanguageClientWrapper { log.debug(`[auth] Sending empty credentials to language server (no account available)`); } await this.#client.sendNotification(DidChangeConfigurationNotification.type, { settings: { baseUrl: account?.instanceUrl, token: account?.token }, settings: { baseUrl: account?.instanceUrl, token: account?.token, tokenType: account?.type === 'oauth' ? 'oauth' : 'pat', }, }); }; Loading @@ -306,6 +310,7 @@ export class LanguageClientWrapperImpl implements LanguageClientWrapper { const settings: ClientConfig = { baseUrl: platform.account.instanceUrl, token: platform.account.token, tokenType: platform.account.type === 'oauth' ? 'oauth' : 'pat', telemetry: { trackingUrl: extensionConfiguration.trackingUrl, enabled: this.#telemetryEnvironment.isTelemetryEnabled(), Loading