Skip to content

Commit 8103b55

Browse files
Merge branch 'feature/q-lsp' into samgst/q-lsp-supported-filetypes
2 parents e44cc15 + 7f90c20 commit 8103b55

File tree

56 files changed

+1903
-1686
lines changed

Some content is hidden

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

56 files changed

+1903
-1686
lines changed

.changes/3.59.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date" : "2025-03-13",
3+
"version" : "3.59",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "AmazonQ /dev and /doc: Add support for complex workspaces."
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "/review: normalize relative file path before unzipping"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "fix Q chat request timeout"
13+
} ]
14+
}
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 inline completion failure due to context length exceeding the threshold"
4+
}

.changes/next-release/bugfix-d14f113a-e931-4247-aecb-26e8dd713467.json

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

.changes/next-release/bugfix-fd9065e5-2661-4250-852c-ec51deedd10f.json

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

.changes/next-release/feature-2c04c975-cdbf-4361-94e6-4010e68af8d9.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" : "AmazonQ /test now displays a concise test plan summary to users."
4+
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# _3.59_ (2025-03-13)
2+
- **(Feature)** AmazonQ /dev and /doc: Add support for complex workspaces.
3+
- **(Bug Fix)** /review: normalize relative file path before unzipping
4+
- **(Bug Fix)** fix Q chat request timeout
5+
16
# _3.58_ (2025-03-06)
27
- **(Bug Fix)** Amazon Q: Fix data isolation between tabs to prevent interference when using /doc in multiple tabs
38
- **(Removal)** The Amazon Q inline suggestion popup goes back to being under the suggestions and is always showing.

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.59-SNAPSHOT
5+
toolkitVersion=3.60-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/CodeWhispererUTGChatManager.kt

Lines changed: 107 additions & 157 deletions
Large diffs are not rendered by default.

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -629,17 +629,18 @@ class CodeTestChatController(
629629
val manager = CodeWhispererCodeReferenceManager.getInstance(context.project)
630630
references.forEach { ref ->
631631
var referenceContentSpan: Span? = null
632-
ref.recommendationContentSpan?.let {
633-
referenceContentSpan = Span.builder().start(ref.recommendationContentSpan.start).end(ref.recommendationContentSpan.end).build()
632+
ref.recommendationContentSpan()?.let {
633+
referenceContentSpan = Span.builder().start(ref.recommendationContentSpan().start())
634+
.end(ref.recommendationContentSpan().end()).build()
634635
}
635636
val reference = Reference.builder().url(
636-
ref.url
637-
).licenseName(ref.licenseName).repository(ref.repository).recommendationContentSpan(referenceContentSpan).build()
637+
ref.url()
638+
).licenseName(ref.licenseName()).repository(ref.repository()).recommendationContentSpan(referenceContentSpan).build()
638639
var originalContent: String? = null
639-
ref.recommendationContentSpan?.let {
640+
ref.recommendationContentSpan()?.let {
640641
originalContent = session.generatedTestDiffs.values.first().substring(
641-
ref.recommendationContentSpan.start,
642-
ref.recommendationContentSpan.end
642+
ref.recommendationContentSpan().start(),
643+
ref.recommendationContentSpan().end()
643644
)
644645
}
645646
LOG.debug { "Original code content from reference span: $originalContent" }

0 commit comments

Comments
 (0)