Skip to content

Commit 59f6bf8

Browse files
authored
Merge pull request #7861 from Hweinstock/fixFeatureBranch
fix(amazonq): address rebase conflicts with mainline
2 parents e24101c + 887d72b commit 59f6bf8

File tree

8 files changed

+10
-23
lines changed

8 files changed

+10
-23
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ packages/*/resources/css/icons.css
5757
.vscode-test-web
5858

5959
# Generated by E2E UI Tests
60-
packages/amazonq/test/e2e/amazonq/resources
60+
packages/amazonq/test/e2e_new/amazonq/resources

package-lock.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
"generateIcons": "ts-node ../../scripts/generateIcons.ts",
7070
"generateSettings": "ts-node ../../scripts/generateSettings.ts"
7171
},
72+
"dependencies": {
73+
"aws-core-vscode": "file:../core/"
74+
},
7275
"contributesComments": {
7376
"configuration": {
7477
"properties": "Any settings also defined in packages/core/package.json will override same-named settings in this file."

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { getLogger } from 'aws-core-vscode/shared'
1010
import { LanguageClient } from 'vscode-languageclient'
1111
import { InlineCompletionItemWithReferences } from '@aws/language-server-runtimes/protocol'
1212
import { CodeWhispererSession } from '../sessionManager'
13-
import { AmazonQInlineCompletionItemProvider } from '../completion'
13+
import type { AmazonQInlineCompletionItemProvider } from '../completion'
1414

1515
export async function showEdits(
1616
item: InlineCompletionItemWithReferences,
@@ -37,12 +37,6 @@ export async function showEdits(
3737
return
3838
}
3939

40-
// TODO: To investigate why it fails and patch [generateDiffSvg]
41-
if (newCode.length === 0) {
42-
getLogger('nextEditPrediction').warn('not able to apply provided edit suggestion, skip rendering')
43-
return
44-
}
45-
4640
if (svgImage) {
4741
// display the SVG image
4842
await displaySvgDecoration(

packages/core/src/shared/settings-amazonq.gen.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export const amazonqSettings = {
3636
"amazonQ.workspaceIndexMaxFileSize": {},
3737
"amazonQ.workspaceIndexCacheDirPath": {},
3838
"amazonQ.workspaceIndexIgnoreFilePatterns": {},
39-
"amazonQ.ignoredSecurityIssues": {},
40-
"amazonQ.proxy.certificateAuthority": {}
39+
"amazonQ.ignoredSecurityIssues": {}
4140
}
4241

4342
export default amazonqSettings

0 commit comments

Comments
 (0)