alefragnani / vscode-project-manager

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

Cant create: multiple projects with identical repo name and different repo urls #718

Closed kokare-darshan closed 11 months ago

kokare-darshan commented 11 months ago

Discussed in https://github.com/alefragnani/vscode-project-manager/discussions/717

Originally posted by **kokare-darshan** December 14, 2023 Hi guys, Lets say I have a repo-A and I add it to project-manager. Now I fork repo-A and lets say its under folder "user-name/repo-A", how can I add new repository which has same name as earlier repo? I see that it updates same repo link today. tldr: I want 2 projects with same name.
alefragnani commented 11 months ago

Hi @kokare-darshan ,

On Favorite Projects (the ones you hit Save Project) yes, you can't have duplicates. The name works as its identifier, and if you try to reuse the name on another path it will ask you if you want to replace its path.

In order to have both projects, you must change the second one, maybe adding a prefix/suffix, so you will be able to have both