You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
projectStorage.existsRemoteWithRootPath(workspace0) will always return the first remote project with the given workspace path in the projects file, since It does not take into account the current remote.
Instead, it should take into account the remote name as well. It could be something like projectStorage.existsRemoteWithRootPath(remoteName, workspace0) so that the correct project name is returned.
The text was updated successfully, but these errors were encountered:
Environment/version
Extension version:
v12.8.0
VSCode and OS version:
Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
Steps to reproduce
repoX (remote 1)
and the secondrepoX (remote 2)
.repoX (remote 1)
.Looking at the code, I believe the problem is here:
https://github.com/alefragnani/vscode-project-manager/blob/master/src/statusBar.ts#L54
projectStorage.existsRemoteWithRootPath(workspace0)
will always return the first remote project with the given workspace path in the projects file, since It does not take into account the current remote.Instead, it should take into account the remote name as well. It could be something like
projectStorage.existsRemoteWithRootPath(remoteName, workspace0)
so that the correct project name is returned.The text was updated successfully, but these errors were encountered: