OpenLiberty / liberty-tools-vscode

Visual Studio Code extension for Liberty Tools
https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext
Eclipse Public License 2.0
18 stars 35 forks source link

Prevent the projects data saved in global state from mistakingly used by different vs code sessions #396

Open JoshwinThomasIBM opened 1 week ago

JoshwinThomasIBM commented 1 week ago

We are saving the selected projects by the user for adding into the dashboard in global state before the session is being saved as a workspace . Since the global state is common for all the Vs code sessions there are chances for parallel vs code sessions to mistakingly use this data for adding into the dashboard or update/remove the same.

Need to figure out a solution to make sure each vs code session uses its own data for adding/removing the projects into the dashboard and the same is cleared from the global state post saving the project as a workspace and also when the user choose to close the workspace without saving the current session as a workspace