-
Notifications
You must be signed in to change notification settings - Fork 273
feat(amazonq): add q config to lsp/configuration #5520
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
Changes from 1 commit
b0c1cdf
ba3cb74
50e2f3d
bb57f74
d9ee16c
5af7915
8eafb45
f069bd3
47821ca
36e79f9
a5599a7
0afdf3e
9e36f65
ad65042
38d4084
564d74b
ce128ab
fade5db
78ac285
085c9b0
39e0c06
00ef3a0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| package software.aws.toolkits.jetbrains.services.amazonq.lsp | ||
|
|
||
| import com.google.gson.annotations.SerializedName | ||
|
|
||
| data class AmazonQLspConfiguration( | ||
| @SerializedName(AmazonQLspConstants.LSP_OPT_OUT_TELEMETRY_CONFIGURATION_KEY) | ||
| val optOutTelemetry: Boolean? = null, | ||
|
|
||
| @SerializedName(AmazonQLspConstants.LSP_ENABLE_TELEMETRY_EVENTS_CONFIGURATION_KEY) | ||
| val enableTelemetryEvents: Boolean? = null, | ||
| ) | ||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -8,4 +8,10 @@ object AmazonQLspConstants { | |||
| const val LSP_CW_CONFIGURATION_KEY = "aws.codeWhisperer" | ||||
| const val LSP_CW_OPT_OUT_KEY = "shareCodeWhispererContentWithAWS" | ||||
| const val LSP_CODE_REFERENCES_OPT_OUT_KEY = "includeSuggestionsWithCodeReferences" | ||||
| const val LSP_Q_CONFIGURATION_KEY = "aws.q" | ||||
| const val LSP_OPT_OUT_TELEMETRY_CONFIGURATION_KEY = "optOutTelemetry" | ||||
| const val LSP_ENABLE_TELEMETRY_EVENTS_CONFIGURATION_KEY = "enableTelemetryEventsToDestination" | ||||
| const val LSP_CUSTOMIZATION_CONFIGURATION_KEY = "customization"; | ||||
|
||||
| override fun activeCustomization(project: Project): CodeWhispererCustomization? { |
?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flag enableTelemetryEventsToDestination is set to true temporarily. It's value will be determined through destination configuration post all events migration to STE. It'll be replaced by qConfig['enableTelemetryEventsToDestination'] === trueThis is not currently being used but will be in future migrations. not exactly sure what it should be pointing to in current codebase