diff options
| author | Shreya Keshive <[email protected]> | 2025-08-11 12:27:45 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-11 16:27:45 +0000 |
| commit | b0b12af2ce843e560133ddc64511917264945072 (patch) | |
| tree | 7b2e112294267a0196d26f4063c8a987f4d4c735 /packages/cli/src/ui/commands/ideCommand.ts | |
| parent | 8dd6f04199f7d14c27595d960d2a84d4e189342b (diff) | |
Additional IDE integration polishes (#5985)
Diffstat (limited to 'packages/cli/src/ui/commands/ideCommand.ts')
| -rw-r--r-- | packages/cli/src/ui/commands/ideCommand.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/cli/src/ui/commands/ideCommand.ts b/packages/cli/src/ui/commands/ideCommand.ts index 95aa5711..f53047ef 100644 --- a/packages/cli/src/ui/commands/ideCommand.ts +++ b/packages/cli/src/ui/commands/ideCommand.ts @@ -72,7 +72,10 @@ function formatFileList(openFiles: File[]): string { }) .join('\n'); - return `\n\nOpen files:\n${fileList}`; + const infoMessage = ` +(Note: The file list is limited to a number of recently accessed files within your workspace and only includes local files on disk)`; + + return `\n\nOpen files:\n${fileList}\n${infoMessage}`; } async function getIdeStatusMessageWithFiles(ideClient: IdeClient): Promise<{ @@ -128,7 +131,8 @@ export const ideCommand = (config: Config | null): SlashCommand | null => { messageType: 'error', content: `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) => getIdeDisplayName(ide)) .join(', ')}`, }) as const, }; |
