codefori / vscode-ibmi

🌍 IBM i development extension for VS Code
https://codefori.github.io/docs/#/
MIT License
264 stars 91 forks source link

Delete stale cached server settings #2096

Closed SanjulaGanepola closed 1 week ago

SanjulaGanepola commented 4 weeks ago

Changes

How to test this PR

Examples:

  1. Create a new connection and connect so there exists some cached server settings.
  2. Manually delete the connection from the settings.json file.
  3. Observe that the connection is removed from the connection browser view.
  4. Create a new connection with the same name.
  5. Debug the extension and observe that connecting to the new connection does not reuse the old cached server settings.
  6. Disconnect and use the Login Settings action to change to another host or user profile.
  7. Repeat step 5.

Checklist