aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.49k stars 418 forks source link

fix: only install Q once for previous users #5125

Closed hayemaxi closed 3 months ago

hayemaxi commented 3 months ago

Problem: Q installs whenever a past connection is detected. If users don't log out of that connection, then they will forever have Q auto-installed on startup even if they don't want it. Solution: Only install once, then store to global state that we did.

Fixes https://github.com/aws/aws-toolkit-vscode/issues/4898

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.