Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ packages/*/resources/css/icons.css
.vscode-test-web

# Generated by E2E UI Tests
packages/amazonq/test/e2e/amazonq/resources
packages/amazonq/test/e2e_new/amazonq/resources
5 changes: 4 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"generateIcons": "ts-node ../../scripts/generateIcons.ts",
"generateSettings": "ts-node ../../scripts/generateSettings.ts"
},
"dependencies": {
"aws-core-vscode": "file:../core/"
},
"contributesComments": {
"configuration": {
"properties": "Any settings also defined in packages/core/package.json will override same-named settings in this file."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getLogger } from 'aws-core-vscode/shared'
import { LanguageClient } from 'vscode-languageclient'
import { InlineCompletionItemWithReferences } from '@aws/language-server-runtimes/protocol'
import { CodeWhispererSession } from '../sessionManager'
import { AmazonQInlineCompletionItemProvider } from '../completion'
import type { AmazonQInlineCompletionItemProvider } from '../completion'

export async function showEdits(
item: InlineCompletionItemWithReferences,
Expand All @@ -37,12 +37,6 @@ export async function showEdits(
return
}

// TODO: To investigate why it fails and patch [generateDiffSvg]
if (newCode.length === 0) {
getLogger('nextEditPrediction').warn('not able to apply provided edit suggestion, skip rendering')
return
}

if (svgImage) {
// display the SVG image
await displaySvgDecoration(
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/shared/settings-amazonq.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export const amazonqSettings = {
"amazonQ.workspaceIndexMaxFileSize": {},
"amazonQ.workspaceIndexCacheDirPath": {},
"amazonQ.workspaceIndexIgnoreFilePatterns": {},
"amazonQ.ignoredSecurityIssues": {},
"amazonQ.proxy.certificateAuthority": {}
"amazonQ.ignoredSecurityIssues": {}
}

export default amazonqSettings
Loading