-
Notifications
You must be signed in to change notification settings - Fork 274
feat(amazonq): Introduce auto trigger changes officially #5080
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
...y/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt
Fixed
Show fixed
Hide fixed
| startTime = endTime | ||
| val requestId = response.responseMetadata().requestId() | ||
| val sessionId = response.sdkHttpResponse().headers().getOrDefault(KET_SESSION_ID, listOf(requestId))[0] | ||
| if (requestCount == 1) { |
Check warning
Code scanning / QDJVMC
Constant conditions Warning
| LOG.debug { "Skipping sending remaining requests on inactive CodeWhisperer session exit" } | ||
| return | ||
| } | ||
| if (requestCount >= PAGINATION_REQUEST_COUNT_ALLOWED) { |
Check warning
Code scanning / QDJVMC
Constant conditions Warning
| runInEdt { | ||
| HintManager.getInstance().showInformationHint(editor, message, HintManager.UNDER) | ||
| } | ||
| fun showCodeWhispererInfoHint(editor: Editor, message: String) { |
Check notice
Code scanning / QDJVMC
Class member can have 'private' visibility Note
| runInEdt { | ||
| HintManager.getInstance().showErrorHint(editor, message, HintManager.UNDER) | ||
| } | ||
| fun showCodeWhispererErrorHint(editor: Editor, message: String) { |
Check notice
Code scanning / QDJVMC
Class member can have 'private' visibility Note
4a451ae to
5f91840
Compare
* Revert "Fix perceivedLatency to set it for only 1 trigger per display session (#5118)" This reverts commit 364305e. * Revert "feat(amazonq): Introduce auto trigger changes officially (#5080)" This reverts commit b01283e. --------- Co-authored-by: Lei Gao <[email protected]>
* Revert "Fix perceivedLatency to set it for only 1 trigger per display session (aws#5118)" This reverts commit 364305e. * Revert "feat(amazonq): Introduce auto trigger changes officially (aws#5080)" This reverts commit b01283e. --------- Co-authored-by: Lei Gao <[email protected]>
The key shortcuts for Q inline suggestions are now configurable from the keymap settings. Default key shortcut for force accept is option + tab or option + enter and default for navigation keys has now changed from <- (navigating to prev) and -> (navigating to next) arrow keys to option + [ and option + ] , respectively.
Types of changes
Description
Checklist
License
I confirm that my contribution is made under the terms of the Apache 2.0 license.