Skip to content

Commit 5237855

Browse files
author
David Hasani
committed
first dms commit
1 parent f9e4124 commit 5237855

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

packages/core/src/amazonqGumby/chat/controller/controller.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,18 @@ export class GumbyController {
446446
this.messenger.sendStaticTextResponse('java-home-not-set', message.tabID)
447447
this.messenger.sendChatInputEnabled(message.tabID, true)
448448
this.messenger.sendUpdatePlaceholder(message.tabID, 'Enter the path to your Java installation.')
449-
return
449+
// const fileUri = await vscode.window.showOpenDialog({
450+
// canSelectMany: false, // Allow only one file to be selected
451+
// openLabel: 'Select', // Label for the open button
452+
// })
453+
454+
// if (!fileUri || fileUri.length === 0) {
455+
// // User canceled the dialog
456+
// vscode.window.showErrorMessage("User closed the file open dialog")
457+
// return
458+
// }
459+
// vscode.window.showInformationMessage("User selected file: " + fileUri[0].fsPath)
460+
// return
450461
}
451462
throw err
452463
}

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ export const cleanInstallErrorNotification = `Amazon Q could not run the Maven c
626626
export const enterJavaHomeChatMessage = 'Enter the path to JDK '
627627

628628
export const projectPromptChatMessage =
629-
'I can upgrade your JAVA_VERSION_HERE. To start the transformation, I need some information from you. Choose the project you want to upgrade and the target code version to upgrade to. Then, choose Transform.'
629+
'I can upgrade your JAVA_VERSION_HERE. To start the transformation, I need some information from you. Choose the project you want to upgrade and the target code version to upgrade to. Then, choose Confirm.'
630630

631631
export const windowsJavaHomeHelpChatMessage =
632632
'To find the JDK path, run the following commands in a new terminal: `cd "C:/Program Files/Java"` and then `dir`. If you see your JDK version, run `cd <version>` and then `cd` to show the path.'

0 commit comments

Comments
 (0)