diff options
| author | christine betts <[email protected]> | 2025-08-12 20:08:47 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-12 20:08:47 +0000 |
| commit | 74fd0841d0d7148127e586fce4c550a01ff40e90 (patch) | |
| tree | 5c23d673ab220029c4111d30952ea35e21b4a317 /packages/core/src/ide/ide-client.ts | |
| parent | 8524cce7b9b31e852b2bbb4d5bf9a4843beec2b1 (diff) | |
[ide-mode] Update installation logic and nudge (#6068)
Diffstat (limited to 'packages/core/src/ide/ide-client.ts')
| -rw-r--r-- | packages/core/src/ide/ide-client.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/packages/core/src/ide/ide-client.ts b/packages/core/src/ide/ide-client.ts index 74d0df74..fe605eb2 100644 --- a/packages/core/src/ide/ide-client.ts +++ b/packages/core/src/ide/ide-client.ts @@ -6,11 +6,7 @@ import * as fs from 'node:fs'; import * as path from 'node:path'; -import { - detectIde, - DetectedIde, - getIdeDisplayName, -} from '../ide/detect-ide.js'; +import { detectIde, DetectedIde, getIdeInfo } from '../ide/detect-ide.js'; import { ideContext, IdeContextNotificationSchema, @@ -68,7 +64,7 @@ export class IdeClient { private constructor() { this.currentIde = detectIde(); if (this.currentIde) { - this.currentIdeDisplayName = getIdeDisplayName(this.currentIde); + this.currentIdeDisplayName = getIdeInfo(this.currentIde).displayName; } } @@ -86,7 +82,7 @@ export class IdeClient { `IDE integration is not supported in your current environment. To use this feature, run Gemini CLI in one of these supported IDEs: ${Object.values( DetectedIde, ) - .map((ide) => getIdeDisplayName(ide)) + .map((ide) => getIdeInfo(ide).displayName) .join(', ')}`, false, ); |
