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.52k stars 443 forks source link

fix(cwl): Hide LiveTail CodeLenses and display info message when closing session #6063

Closed keeganirby closed 2 days ago

keeganirby commented 2 days ago

Problem

Currently after closing a session in a way that leaves the TextDocument open (Stop tailing CodeLens), the codeLenses remain visible. This means a user could click Stop tailing again, and receive an error for not being able to find the running LiveTail session for the given document.

Additionally, there is no feedback when a session is closed. Clicking Stop tailing doesn't signal to the user that the session was actually stopped.

Solution


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

github-actions[bot] commented 2 days ago