-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(codewhisperer): auto-connect on vscode startup #3359
Problem: CodeWhisperer does not auto-connect on vscode startup. #3348 Solution: Call auth.restore() Also fix some other issues: 1. Clear the inlineCompletionState on focus change so that they should still be able to invoke CW when they invoked CW and then switched to another app and switched back. 2. put activateCodeWhipserer() to be before activateAwsExplorer() since the refreshStatusBar() and showReferenceLog() commands are used within activateAwsExplorer() when the connection is changed. These commands are not registered until activateCodeWhisperer() has been called. 3. Remove unnecessary call to refreshCodeWhisperer(), this only needs to be called when there's a connection change.
- Loading branch information
Showing
5 changed files
with
4 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters