Skip to content

Commit 3a0665a

Browse files
authored
Merge branch 'main' into feature/stop-generation
2 parents adb4f48 + cd63f65 commit 3a0665a

File tree

462 files changed

+1092
-987
lines changed

Some content is hidden

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

462 files changed

+1092
-987
lines changed

.changes/3.31.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"date" : "2024-10-03",
3+
"version" : "3.31",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q Developer: Updated legal disclaimer text"
7+
}, {
8+
"type" : "feature",
9+
"description" : "Amazon Q Code Transformation: allow users to skip tests"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "Fix issue where multiple SSO login attempts in a short time result in 404"
13+
}, {
14+
"type" : "bugfix",
15+
"description" : "Fix issue where a user may get stuck while attempting to login to Builder ID"
16+
} ]
17+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix 'Slow operations are prohibited on EDT.' when Amazon Q is determining if a file supports inline suggestions (#4823)"
4+
}

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ij_java_use_single_class_imports = true
3838
ij_java_while_brace_force = always
3939

4040
[{*.kts,*.kt}]
41+
ij_kotlin_allow_trailing_comma = true
4142
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
4243
ij_kotlin_name_count_to_use_star_import = 2147483647
4344
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# _3.31_ (2024-10-03)
2+
- **(Feature)** Amazon Q Developer: Updated legal disclaimer text
3+
- **(Feature)** Amazon Q Code Transformation: allow users to skip tests
4+
- **(Bug Fix)** Fix issue where multiple SSO login attempts in a short time result in 404
5+
- **(Bug Fix)** Fix issue where a user may get stuck while attempting to login to Builder ID
6+
17
# _3.30_ (2024-09-27)
28
- **(Bug Fix)** Amazon Q Code Transformation: notify users when no JDK is set in Project Structure settings
39
- **(Bug Fix)** Automatically terminate orphaned process for `@workspace` helper

buildSrc/src/main/kotlin/toolkit-publish-root-conventions.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,8 @@ tasks.runIde {
7070
systemProperty("ide.plugins.snapshot.on.unload.fail", true)
7171
systemProperty("memory.snapshots.path", project.rootDir)
7272
systemProperty("idea.auto.reload.plugins", false)
73+
74+
val home = project.layout.buildDirectory.dir("USER_HOME").get()
75+
systemProperty("user.home", home)
76+
environment("HOME", home)
7377
}

detekt-rules/detekt.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,14 @@ formatting:
5757
autoCorrect: true
5858
AnnotationOnSeparateLine:
5959
active: false
60-
autoCorrect: true
6160
AnnotationSpacing:
6261
active: false
63-
autoCorrect: true
6462
ArgumentListWrapping:
6563
active: true
66-
autoCorrect: true
6764
indentSize: 4
6865
maxLineLength: 160
6966
Indentation:
7067
active: true
71-
autoCorrect: true
7268
indentSize: 4
7369
excludes: [ '**/TelemetryDefinitions.kt' ]
7470
MaximumLineLength:
@@ -92,11 +88,13 @@ formatting:
9288
maxLineLength: 160
9389
SpacingBetweenDeclarationsWithComments:
9490
active: true
95-
autoCorrect: true
9691
excludes: [ '**/icons/**' ]
92+
# TrailingCommaOnCallSite:
93+
# active: true
94+
TrailingCommaOnDeclarationSite:
95+
active: true
9796
Wrapping:
9897
active: true
99-
autoCorrect: true
10098
indentSize: 4
10199
maxLineLength: 160
102100

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.31-SNAPSHOT
5+
toolkitVersion=3.32-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/chat/jetbrains-community/resources/META-INF/plugin-chat.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<projectListeners>
99
<listener class="software.aws.toolkits.jetbrains.services.amazonq.toolwindow.AmazonQToolWindowListener"
10-
topic="com.intellij.openapi.wm.ex.ToolWindowManagerListener"/>
10+
topic="com.intellij.openapi.wm.ex.ToolWindowManagerListener"/>
1111
<listener class="software.aws.toolkits.jetbrains.services.cwc.editor.context.project.ProjectContextEditorListener"
1212
topic="com.intellij.openapi.fileEditor.FileEditorManagerListener"/>
1313
</projectListeners>
@@ -70,6 +70,11 @@
7070
<keyboard-shortcut keymap="$default" first-keystroke="meta alt A" />
7171
</action>
7272

73+
<action id="aws.toolkit.jetbrains.core.services.cwc.commands.GenerateUnitTestsAction"
74+
class="software.aws.toolkits.jetbrains.services.cwc.commands.GenerateUnitTestsAction">
75+
<keyboard-shortcut keymap="$default" first-keystroke="meta alt T" />
76+
</action>
77+
7378
<action id="aws.toolkit.jetbrains.core.services.cwc.commands.SendToPromptAction"
7479
class="software.aws.toolkits.jetbrains.services.cwc.commands.SendToPromptAction">
7580
<keyboard-shortcut keymap="$default" first-keystroke="meta alt S" />

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/auth/AuthController.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class AuthController {
3838
private fun getAuthNeededState(
3939
amazonqConnectionState: ActiveConnection,
4040
codeWhispererConnectionState: ActiveConnection,
41-
onlyIamIdcConnection: Boolean = false
41+
onlyIamIdcConnection: Boolean = false,
4242
): AuthNeededState? =
4343
when (amazonqConnectionState) {
4444
ActiveConnection.NotConnected -> {
@@ -85,7 +85,8 @@ class AuthController {
8585
when (type) {
8686
AuthFollowUpType.MissingScopes,
8787
AuthFollowUpType.Unsupported,
88-
AuthFollowUpType.FullAuth -> runInEdt {
88+
AuthFollowUpType.FullAuth,
89+
-> runInEdt {
8990
UiTelemetry.click(project, "amazonq_chatAuthenticate")
9091
requestCredentialsForQ(project, connectionInitiatedFromQChatPanel = true)
9192
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/auth/AuthNeededState.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ package software.aws.toolkits.jetbrains.services.amazonq.auth
55

66
data class AuthNeededState(
77
val message: String,
8-
val authType: AuthFollowUpType
8+
val authType: AuthFollowUpType,
99
)
1010

1111
data class AuthNeededStates(
1212
val chat: AuthNeededState? = null,
13-
val amazonQ: AuthNeededState? = null
13+
val amazonQ: AuthNeededState? = null,
1414
)

0 commit comments

Comments
 (0)