Skip to content

Commit d5a7e8e

Browse files
authored
fix(amazonq inline suggest): wrongly formatted supplemental context #5963
List of fixes: - `def func (a) :` -> `def func(a):` - `class (A) :` -> `class(A):` - for python, change `// Function definitions to # Function definitions` ,` // Class definitions` to `# Class definitions` - for js/ts: `function findMax (arr: number[]) : number | undefined{.` -> `function findMax(arr: number[]): number | undefined {.` - for all language: `// File path: a.ts` -> `//File path a.ts` - for js/ts: `String privateString ;` -> `String privateString;`
1 parent acfdb61 commit d5a7e8e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Bug Fix",
3+
"description": "Fix suboptimal inline suggestions from Amazon Q caused by improperly formatted supplemental context"
4+
}

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface Manifest {
6666
}
6767
const manifestUrl = 'https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json'
6868
// this LSP client in Q extension is only going to work with these LSP server versions
69-
const supportedLspServerVersions = ['0.1.25']
69+
const supportedLspServerVersions = ['0.1.27']
7070

7171
const nodeBinName = process.platform === 'win32' ? 'node.exe' : 'node'
7272

0 commit comments

Comments
 (0)