Testing #48428
When I think of a link to a git repository, I think of something that is to be opened.
vscode-insiders://vscode.git/clone?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvscode-textmate.gitToday, clicking on the same link makes another clone which IMHO is a bit useless, how many people would want to clone the same repository twice...
I like that. It'll be tough since we have to search the file system for it. Maybe we come up with some heuristics for search patterns?
@joaomoreno If I have opened that repository with vscode (ever), you can (from the git extension) remember that somewhere locally. Then, when you are asked to clone the same origin, you can propose to open instead.
Yeah I guess we can do some recording
I would like to have a go at this, i'm going to look into recording all locations that the git extension has seen and then display a prompt when the user clicks on a link that is known. How does this sound ?
Sounds 馃憤 . The feature should trigger whenever the user runs the clone command (same path as clicking that URL). The storage should be bounded... let's say 50 repos?
@joaomoreno If I have opened that repository with vscode (ever), you can (from the git extension) remember that somewhere locally. Then, when you are asked to clone the same origin, you can propose to open instead.
That alone might not always work, because the cloned repo could've been deleted by the user.
@rdosanjh : Have you taken it up? If not I would like to give it a try.
I would like to try to work on this issue if it is still available. Which files should I look at and edit?
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!
Most helpful comment
That alone might not always work, because the cloned repo could've been deleted by the user.