Skip to content

Commit

Permalink
fix(amazonq): open diff in a new tab when another modal is open
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiao Chen committed Jan 22, 2025
1 parent e9e2d8b commit 7cc69f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "bugfix",
"description" : "Amazon Q /doc: fix open diff in a tab when another modal is open"
}
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ class DocController(
followUp = getFollowUpOptions(session.sessionState.phase)
)

this.toolWindow?.activate(null, true)
processOpenDiff(
message = IncomingDocMessage.OpenDiff(tabId = followUpMessage.tabId, filePath = filePaths[0].zipFilePath, deleted = false)
)
Expand Down

0 comments on commit 7cc69f4

Please sign in to comment.