Skip to content

Commit 022c81c

Browse files
authored
Merge branch 'aws:master' into master
2 parents 8838b61 + 632a570 commit 022c81c

File tree

18 files changed

+125
-50
lines changed

18 files changed

+125
-50
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"date": "2025-07-30",
3+
"version": "1.86.0",
4+
"entries": [
5+
{
6+
"type": "Bug Fix",
7+
"description": "Let Enter invoke auto completion more consistently"
8+
},
9+
{
10+
"type": "Bug Fix",
11+
"description": "Faster and more responsive inline completion UX"
12+
},
13+
{
14+
"type": "Bug Fix",
15+
"description": "Use documentChangeEvent as auto trigger condition"
16+
}
17+
]
18+
}

packages/amazonq/.changes/next-release/Bug Fix-316fb610-0ea9-40d1-bdb7-d371a6be4a4e.json

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

packages/amazonq/.changes/next-release/Bug Fix-7261a487-e80a-440f-b311-2688e256a886.json

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

packages/amazonq/.changes/next-release/Bug Fix-9d694e40-7fc7-4504-b08c-6b22a5ebcb1c.json

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

packages/amazonq/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.86.0 2025-07-30
2+
3+
- **Bug Fix** Let Enter invoke auto completion more consistently
4+
- **Bug Fix** Faster and more responsive inline completion UX
5+
- **Bug Fix** Use documentChangeEvent as auto trigger condition
6+
17
## 1.85.0 2025-07-19
28

39
- Miscellaneous non-user-facing changes

packages/amazonq/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI–powered assistant for software development.",
5-
"version": "1.86.0-SNAPSHOT",
5+
"version": "1.87.0-SNAPSHOT",
66
"extensionKind": [
77
"workspace"
88
],

packages/amazonq/src/app/amazonqScan/app.ts

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { Messenger } from './chat/controller/messenger/messenger'
1919
import { UIMessageListener } from './chat/views/actions/uiMessageListener'
2020
import { debounce } from 'lodash'
2121
import { Commands, placeholder } from 'aws-core-vscode/shared'
22+
import { codeReviewInChat } from './models/constants'
2223

2324
export function init(appContext: AmazonQAppInitContext) {
2425
const scanChatControllerEventEmitters: ScanChatControllerEventEmitters = {
@@ -74,17 +75,19 @@ export function init(appContext: AmazonQAppInitContext) {
7475
return debouncedEvent()
7576
})
7677

77-
Commands.register('aws.amazonq.security.scan-statusbar', async () => {
78-
if (AuthUtil.instance.isConnectionExpired()) {
79-
await AuthUtil.instance.notifyReauthenticate()
80-
}
81-
return focusAmazonQPanel.execute(placeholder, 'amazonq.security.scan').then(() => {
82-
DefaultAmazonQAppInitContext.instance.getAppsToWebViewMessagePublisher().publish({
83-
sender: 'amazonqCore',
84-
command: 'review',
78+
if (!codeReviewInChat) {
79+
Commands.register('aws.amazonq.security.scan-statusbar', async () => {
80+
if (AuthUtil.instance.isConnectionExpired()) {
81+
await AuthUtil.instance.notifyReauthenticate()
82+
}
83+
return focusAmazonQPanel.execute(placeholder, 'amazonq.security.scan').then(() => {
84+
DefaultAmazonQAppInitContext.instance.getAppsToWebViewMessagePublisher().publish({
85+
sender: 'amazonqCore',
86+
command: 'review',
87+
})
8588
})
8689
})
87-
})
90+
}
8891

8992
codeScanState.setChatControllers(scanChatControllerEventEmitters)
9093
onDemandFileScanState.setChatControllers(scanChatControllerEventEmitters)

packages/amazonq/src/app/amazonqScan/models/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,5 @@ const getIconForStep = (targetStep: number, currentStep: number) => {
9797
? checkIcons.done
9898
: checkIcons.wait
9999
}
100+
101+
export const codeReviewInChat = true

packages/amazonq/src/app/inline/EditRendering/imageRenderer.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ export async function showEdits(
2626
const svgGenerationService = new SvgGenerationService()
2727
// Generate your SVG image with the file contents
2828
const currentFile = editor.document.uri.fsPath
29-
const { svgImage, startLine, newCode, origionalCodeHighlightRange } =
30-
await svgGenerationService.generateDiffSvg(currentFile, item.insertText as string)
29+
const { svgImage, startLine, newCode, originalCodeHighlightRange } = await svgGenerationService.generateDiffSvg(
30+
currentFile,
31+
item.insertText as string
32+
)
3133

3234
// TODO: To investigate why it fails and patch [generateDiffSvg]
3335
if (newCode.length === 0) {
@@ -42,7 +44,7 @@ export async function showEdits(
4244
svgImage,
4345
startLine,
4446
newCode,
45-
origionalCodeHighlightRange,
47+
originalCodeHighlightRange,
4648
session,
4749
languageClient,
4850
item,

0 commit comments

Comments
 (0)