diff --git a/packages/cli/src/ui/IdeIntegrationNudge.tsx b/packages/cli/src/ui/IdeIntegrationNudge.tsx index a53f59b98..9cd6d5311 100644 --- a/packages/cli/src/ui/IdeIntegrationNudge.tsx +++ b/packages/cli/src/ui/IdeIntegrationNudge.tsx @@ -74,7 +74,7 @@ export function IdeIntegrationNudge({ const installText = isInSandbox ? `Note: In sandbox environments, IDE integration requires manual setup on the host system. If you select Yes, you'll receive instructions on how to set this up.` : isExtensionPreInstalled - ? `The IDE extension appears to be already installed. If you select Yes, the CLI will connect to your ${ + ? `If you select Yes, the CLI will connect to your ${ ideName ?? 'editor' } and have access to your open files and display diffs directly.` : `If you select Yes, we'll install an extension that allows the CLI to access your open files and display diffs directly in ${ diff --git a/packages/cli/src/ui/commands/ideCommand.ts b/packages/cli/src/ui/commands/ideCommand.ts index 2440ca852..be3a12bc9 100644 --- a/packages/cli/src/ui/commands/ideCommand.ts +++ b/packages/cli/src/ui/commands/ideCommand.ts @@ -204,22 +204,10 @@ export const ideCommand = async (): Promise => { } if (!installer) { const ideName = ideClient.getDetectedIdeDisplayName(); - const isVSCode = currentIDE.name === 'vscode'; - let type: 'error' | 'info' = 'error'; - let message: string; - if (isVSCode) { - // VS Code - message = `No installer is available for ${ideName}. Please install the '${QWEN_CODE_COMPANION_EXTENSION_NAME}' extension manually from the marketplace.`; - } else { - // NO VS Code - type = 'info'; - message = `Automatic installation is not supported for ${ideName}. Please install the extension manually or install '${QWEN_CODE_COMPANION_EXTENSION_NAME}' in VS Code. If you have installed it before, please ignore the reminder and directly connect the ide extension`; - } - context.ui.addItem( { - type, - text: message, + type: 'error', + text: `Automatic installation is not supported for ${ideName}. Please install the '${QWEN_CODE_COMPANION_EXTENSION_NAME}' extension manually from the marketplace.`, }, Date.now(), );