alefragnani / vscode-project-manager

Project Manager Extension for Visual Studio Code
GNU General Public License v3.0
1.87k stars 222 forks source link

[FEATURE] - Git Projects baseFolders with multiple profiles #749

Open Lupennat opened 2 weeks ago

Lupennat commented 2 weeks ago

I use N profiles in vscode and in the settings.json of each profile I have configured projectManager.git.baseFolders with different paths.

When I open projects on different profiles or I change profile, the git list doesn't update automatically, but I have to update it manually. Even if I update it manually, the numerical indication of the repositories present still does not match the list. (I think this is a bug)

Would it be possible to make the git project list always automatically match the profile configuration in which the extension is used?

alefragnani commented 2 weeks ago

Hi @Lupennat ,

This happens, partially, because there is no API to properly support Profiles (more details here https://github.com/microsoft/vscode/issues/160466). Without this storage location, the extension doesn't properly manage the projects cache.

Turning off cacheProjectsBetweenSessions doesn't work either, but in order to support Profiles, maybe updating it, or adding a new setting would be the only way.

Hope this helps