Skip to content

Commit 8f44dab

Browse files
authored
Merge branch 'main' into grouping-strategy
2 parents 300e3e0 + a545699 commit 8f44dab

File tree

45 files changed

+989
-157
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+989
-157
lines changed

.changes/3.51.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"date" : "2025-01-29",
3+
"version" : "3.51",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q: Now the Amazon Q suggestions can co-exist with Jetbrains suggestions, with tab behavior configurable in the settings."
7+
}, {
8+
"type" : "feature",
9+
"description" : "Amazon Q: Amazon Q inline now has configurable shortcuts for various actions including accept and browsing through suggestions."
10+
}, {
11+
"type" : "feature",
12+
"description" : "Add setting to allow Q /dev to run code and test commands"
13+
}, {
14+
"type" : "feature",
15+
"description" : "Amazon Q: The suggestion popup will hide by default and will be displayed when the suggestion is being hovered over."
16+
}, {
17+
"type" : "bugfix",
18+
"description" : "Amazon Q /doc: fix open diff in a tab when another modal is open"
19+
}, {
20+
"type" : "bugfix",
21+
"description" : "Amazon Q /test: Fixed an issue which incorrectly caused payload size exceeded exception when collecting project payload files"
22+
}, {
23+
"type" : "bugfix",
24+
"description" : "fix(amazonq): For security reasons, disabled auto linkify for link texts coming in markdown other than [TEXT](URL) format"
25+
}, {
26+
"type" : "bugfix",
27+
"description" : "Fix UI freeze caused by updating workspace index on non background context"
28+
} ]
29+
}

.changes/next-release/bugfix-970b5a61-5646-4f40-b9fa-65c69ceda73f.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/next-release/feature-47353019-76fc-4dad-8816-2ee8a530312b.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changes/next-release/feature-47e788f2-10c1-47dd-8433-3d1e0c8424ac.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Adds event listener for notifying UI that AB feature configurations have been resolved"
4+
}

.changes/next-release/feature-7d68dc39-493a-4a4e-9f9f-913b56ed5e5f.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# _3.51_ (2025-01-29)
2+
- **(Feature)** Amazon Q: Now the Amazon Q suggestions can co-exist with Jetbrains suggestions, with tab behavior configurable in the settings.
3+
- **(Feature)** Amazon Q: Amazon Q inline now has configurable shortcuts for various actions including accept and browsing through suggestions.
4+
- **(Feature)** Add setting to allow Q /dev to run code and test commands
5+
- **(Feature)** Amazon Q: The suggestion popup will hide by default and will be displayed when the suggestion is being hovered over.
6+
- **(Bug Fix)** Amazon Q /doc: fix open diff in a tab when another modal is open
7+
- **(Bug Fix)** Amazon Q /test: Fixed an issue which incorrectly caused payload size exceeded exception when collecting project payload files
8+
- **(Bug Fix)** fix(amazonq): For security reasons, disabled auto linkify for link texts coming in markdown other than [TEXT](URL) format
9+
- **(Bug Fix)** Fix UI freeze caused by updating workspace index on non background context
10+
111
# _3.50_ (2025-01-23)
212
- **(Feature)** Amazon Q: Updated `/help` command to include re:invent 2024 features
313
- **(Feature)** Amazon Q: UI improvements through more accurate code syntax highlighting

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Toolkit Version
5-
toolkitVersion=3.51-SNAPSHOT
5+
toolkitVersion=3.52-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/startup/AmazonQStartupActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import software.aws.toolkits.core.utils.warn
1717
import software.aws.toolkits.jetbrains.core.credentials.AwsBearerTokenConnection
1818
import software.aws.toolkits.jetbrains.core.credentials.ToolkitConnectionManager
1919
import software.aws.toolkits.jetbrains.core.credentials.pinning.QConnection
20-
import software.aws.toolkits.jetbrains.core.credentials.sono.isInternalUser
2120
import software.aws.toolkits.jetbrains.core.gettingstarted.emitUserState
21+
import software.aws.toolkits.jetbrains.services.amazonq.CodeWhispererFeatureConfigService
2222
import software.aws.toolkits.jetbrains.services.amazonq.project.ProjectContextController
2323
import software.aws.toolkits.jetbrains.services.amazonq.toolwindow.AmazonQToolWindow
2424
import software.aws.toolkits.jetbrains.services.amazonq.toolwindow.AmazonQToolWindowFactory
@@ -36,7 +36,7 @@ class AmazonQStartupActivity : ProjectActivity {
3636
if (ApplicationManager.getApplication().isUnitTestMode) return
3737

3838
ToolkitConnectionManager.getInstance(project).activeConnectionForFeature(QConnection.getInstance())?.let {
39-
if (it is AwsBearerTokenConnection && isInternalUser(it.startUrl)) {
39+
if (it is AwsBearerTokenConnection && CodeWhispererFeatureConfigService.getInstance().getChatWSContext()) {
4040
CodeWhispererSettings.getInstance().toggleProjectContextEnabled(value = true, passive = true)
4141
}
4242
}

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
package software.aws.toolkits.jetbrains.services.amazonqDoc.controller
55

66
import com.intellij.diff.DiffContentFactory
7-
import com.intellij.diff.DiffManager
7+
import com.intellij.diff.chains.SimpleDiffRequestChain
88
import com.intellij.diff.contents.EmptyContent
9+
import com.intellij.diff.editor.ChainDiffVirtualFile
10+
import com.intellij.diff.editor.DiffEditorTabFilesManager
911
import com.intellij.diff.requests.SimpleDiffRequest
1012
import com.intellij.diff.util.DiffUserDataKeys
1113
import com.intellij.ide.BrowserUtil
@@ -398,7 +400,8 @@ class DocController(
398400
val request = SimpleDiffRequest(message.filePath, leftDiffContent, rightDiffContent, null, null)
399401
request.putUserData(DiffUserDataKeys.FORCE_READ_ONLY, true)
400402

401-
DiffManager.getInstance().showDiff(project, request)
403+
val newDiff = ChainDiffVirtualFile(SimpleDiffRequestChain(request), message.filePath)
404+
DiffEditorTabFilesManager.getInstance(context.project).showDiffFile(newDiff, true)
402405
}
403406
}
404407

0 commit comments

Comments
 (0)