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.
Cleanup the install code a bit
Use the same global state key for dismissing the install q notification.
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.