mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-03 14:10:43 +00:00
refactor(ide): Improve IDE detection discovery (#6765)
This commit is contained in:
parent
0641b1c095
commit
776627c855
13 changed files with 373 additions and 152 deletions
|
|
@ -6,10 +6,8 @@
|
|||
|
||||
import {
|
||||
Config,
|
||||
DetectedIde,
|
||||
GEMINI_CLI_COMPANION_EXTENSION_NAME,
|
||||
IDEConnectionStatus,
|
||||
getIdeInfo,
|
||||
getIdeInstaller,
|
||||
IdeClient,
|
||||
type File,
|
||||
|
|
@ -130,11 +128,7 @@ export const ideCommand = (config: Config | null): SlashCommand | null => {
|
|||
({
|
||||
type: 'message',
|
||||
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) => getIdeInfo(ide).displayName)
|
||||
.join(', ')}`,
|
||||
content: `IDE integration is not supported in your current environment. To use this feature, run Gemini CLI in one of these supported IDEs: VS Code or VS Code forks.`,
|
||||
}) as const,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue