File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 562562 "commands" : [
563563 {
564564 "command" : " aws.amazonq.stopCmdExecution" ,
565- "title" : " Stop Amazon Q Command Execution " ,
565+ "title" : " Stop Amazon Q" ,
566566 "category" : " %AWS.amazonq.title%"
567567 },
568568 {
569569 "command" : " aws.amazonq.runCmdExecution" ,
570- "title" : " Run Amazon Q Command Execution " ,
570+ "title" : " Run Amazon Q Tool " ,
571571 "category" : " %AWS.amazonq.title%"
572572 },
573573 {
574574 "command" : " aws.amazonq.rejectCmdExecution" ,
575- "title" : " Reject Amazon Q Command Execution " ,
575+ "title" : " Reject Amazon Q Tool " ,
576576 "category" : " %AWS.amazonq.title%"
577577 },
578578 {
Original file line number Diff line number Diff line change @@ -447,13 +447,15 @@ export function registerMessageListeners(
447447 )
448448
449449 // Get the log directory path
450- const logPath = globals . context . logUri ?. fsPath
450+ const logFolderPath = globals . context . logUri ?. fsPath
451451 const result = { ...message . params , success : false }
452452
453- if ( logPath ) {
453+ if ( logFolderPath ) {
454454 // Open the log directory in the OS file explorer directly
455455 languageClient . info ( '[VSCode Client] Opening logs directory' )
456- await vscode . commands . executeCommand ( 'revealFileInOS' , vscode . Uri . file ( logPath ) )
456+ const path = require ( 'path' )
457+ const logFilePath = path . join ( logFolderPath , 'Amazon Q Logs.log' )
458+ await vscode . commands . executeCommand ( 'revealFileInOS' , vscode . Uri . file ( logFilePath ) )
457459 result . success = true
458460 } else {
459461 // Fallback: show error if log path is not available
You can’t perform that action at this time.
0 commit comments