-
Notifications
You must be signed in to change notification settings - Fork 739
config(amazonq): enable more languages in generateCompletion requests #5663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… lua, r, swift, vue
|
This pull request modifies code in src/ but no tests were added/updated. Confirm whether tests should be added or ensure the PR description explains why tests are not required. |
|
This pull request implements a feature or fix, so it must include a changelog entry. See CONTRIBUTING.md#changelog for instructions. |
|
will attach functional test screen recording |
|
2636 passing (5m)
assert_1.default.ok(!refreshedConnItem.description?.match(/expired/i)) |
… (#5854) ## Problem patch #5663 Due to this line of code https://github.com/aws/aws-toolkit-vscode/blob/master/packages/core/src/codewhisperer/util/runtimeLanguageContext.ts#L156-L173 when users make inline completion call with new languages, logs will show `2024-10-24 08:52:55.501 [error] codewhisperer: unknown runtime language dart`, however it doesn't have functional impact because it will fallback to original language string (which is the reason why it doesn't fail test cases) and it's only affecting logs. test has been added https://github.com/aws/aws-toolkit-vscode/blob/master/packages/amazonq/test/unit/codewhisperer/util/runtimeLanguageContext.test.ts#L184-L222 ## Solution
Problem
Per product team's request, unblock requests of the following language to the service which will be ready soon. (thus not calling it out as a "feat" as it's not supported yet)
Solution
Functional test
vscode-swift.mov
vscode-lua.mov
vscode-dart.mov
vscode-r.mov
vscode-systemverilog.mov
vscode-powershell.mov
License: I confirm that my contribution is made under the terms of the Apache 2.0 license.