Skip to content

Commit 7cc69f4

Browse files
author
Xiao Chen
committed
fix(amazonq): open diff in a new tab when another modal is open
1 parent e9e2d8b commit 7cc69f4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q /doc: fix open diff in a tab when another modal is open"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqDoc/controller/DocController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ class DocController(
804804
followUp = getFollowUpOptions(session.sessionState.phase)
805805
)
806806

807+
this.toolWindow?.activate(null, true)
807808
processOpenDiff(
808809
message = IncomingDocMessage.OpenDiff(tabId = followUpMessage.tabId, filePath = filePaths[0].zipFilePath, deleted = false)
809810
)

0 commit comments

Comments
 (0)