mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Additional IDE integration polishes (#5985)
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user