Closed justinmk3 closed 2 months ago
Use of vscode's globalState interface allows bugs such as https://github.com/aws/aws-toolkit-vscode/pull/3060#discussion_r1050240283 .
globalState
See https://github.com/aws/aws-toolkit-vscode/pull/5293 for details.
Update codewhisperer code to use globals.globalState , which allows type-checking, error handling, and centralization of related logic.
globals.globalState
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
/runintegrationtests
Problem
Use of vscode's
globalState
interface allows bugs such as https://github.com/aws/aws-toolkit-vscode/pull/3060#discussion_r1050240283 .See https://github.com/aws/aws-toolkit-vscode/pull/5293 for details.
Solution
Update codewhisperer code to use
globals.globalState
, which allows type-checking, error handling, and centralization of related logic.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.