You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config(amazonq): simplify language server configuration options (#6570)
## Problem
- lack of centralization for configuration options
- no way to configure manifest url without changing the code directly
- overriding the language server location will only work right now for
amazonqLSP and not workspace context
## Solution
- Fix all of the above
## TODO
- In another PR i'll do the same thing for the workspace context
language server
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -427,6 +427,19 @@ Example:
427
427
}
428
428
```
429
429
430
+
<aname="amazonqLsp-settings">Overrides specifically for the Amazon Q language server can be set using the `aws.dev.amazonqLsp` setting. This is a JSON object consisting of keys/values required to override language server: `manifestUrl`, `supportedVersions`, `id`, and `locationOverride`.</a>
Environment variables can be used to modify the behaviour of VSCode. The following are environment variables that can be used to configure the extension:
@@ -472,6 +485,10 @@ Unlike the user setting overrides, not all of these environment variables have t
472
485
473
486
-`__CODEWHISPERER_REGION`: for aws.dev.codewhispererService.region
474
487
-`__CODEWHISPERER_ENDPOINT`: for aws.dev.codewhispererService.endpoint
488
+
-`__AMAZONQLSP_MANIFEST_URL`: for aws.dev.amazonqLsp.manifestUrl
489
+
-`__AMAZONQLSP_SUPPORTED_VERSIONS`: for aws.dev.amazonqLsp.supportedVersions
490
+
-`__AMAZONQLSP_ID`: for aws.dev.amazonqLsp.id
491
+
-`__AMAZONQLSP_LOCATION_OVERRIDE`: for aws.dev.amazonqLsp.locationOverride
0 commit comments