From b0b12af2ce843e560133ddc64511917264945072 Mon Sep 17 00:00:00 2001 From: Shreya Keshive Date: Mon, 11 Aug 2025 12:27:45 -0400 Subject: Additional IDE integration polishes (#5985) --- packages/cli/src/ui/commands/ideCommand.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'packages/cli') 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, }; -- cgit v1.2.3