Skip to content

Commit 431d070

Browse files
committed
optimize prompt message
1 parent 36109d3 commit 431d070

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/OperationExplorer.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -509,18 +509,18 @@ export class OperationExplorer {
509509
const ideType = await vscode.window.showQuickPick<vscode.QuickPickItem>([
510510
{
511511
label: 'MDK',
512-
description: 'any Arm, 8051 projects',
513-
detail: `Import Keil MDK Project (Only Keil v5+)`
512+
description: 'arm, 8051 projects',
513+
detail: `Import Keil MDK Projects (Only Keil v5+)`
514514
},
515515
{
516-
label: 'IAR',
517-
description: 'any arm project',
518-
detail: `Import IAR ARM Project`
516+
label: 'IAR Workbench',
517+
description: 'arm projects',
518+
detail: `Import IAR ARM Projects (IAR Workbench Version >= v7.80.2)`
519519
},
520520
{
521521
label: 'Eclipse',
522-
description: 'any embedded project',
523-
detail: `Import Eclipse Project`
522+
description: 'embedded gcc projects',
523+
detail: `Import Eclipse Projects`
524524
}
525525
], { placeHolder: `Project Type` });
526526

@@ -615,7 +615,7 @@ export class OperationExplorer {
615615
//
616616
// for IAR projects
617617
//
618-
else if (ideType.label == 'IAR') {
618+
else if (ideType.label.startsWith('IAR')) {
619619

620620
const prjFileUri = await vscode.window.showOpenDialog({
621621
openLabel: 'Import',

0 commit comments

Comments
 (0)