Open Patrickkk opened 9 years ago
@Patrickkk Thanks for the suggestion. Which git repositories do you want to explore? The ones on GitHub or the ones you have cloned locally?
Personally I'd like to be able to explore the ones on GitHub.
@RandomlyKnighted Interesting. For what purpose?
Mostly for productivity. There are times when I'm working across multiple branches and need to quickly reference another class. By being able to browse and pull that class up in the IDE I could get a side by side comparison without leaving the IDE.
@RandomlyKnighted ah! So if I understand correctly, you're not interested in just browsing the list of repositories. You want to be able to navigate code on GitHub from Visual Studio and open that code file in Visual Studio?
That feels a little out of scope for what we want to do right now. However, there's something close to this today.
If you go to github.com and find the file you want to look at, for example, https://github.com/octokit/octokit.net/blob/master/Octokit/Http/Connection.cs
There's a button to open it in GitHub for Windows. However, what it really does is open the file in your default editor for that file type. So you could change that to Visual Studio. Then clicking that button would open that one file in Visual Studio.
However, that requires that you also have GitHub for Windows installed for the time being because Visual Studio doesn't yet support that specific scenario.
What would it take for Visual Studio to support that scenario? If I know what needs to be done I can look into making an extension for that.
@RandomlyKnighted not sure. Why don't you open a new issue. Maybe put together some mock-ups so we can all better understand the idea. Then we can talk through the user experience and implementation. Maybe it does belong in this extension. Maybe it should be a different one.
@Haacked I would like to browse my local repositories via a source control explorer like view. So i dont have to leave visual studio for anything. It would be nice to be able to open a piece of code from another project without having to open the solution (in a second visual studio instance).
this could work as a simple extension of the workflow I've suggested in the comments of #11 but instead of adding the file to the existing project it would be an option added to the File > Open menu
Basically add an Open file from GitHub command, this would follow this flow
It would be great if we could explore our git repositories from source controll explorer (or something simmilar) so we dont have to leave the IDE. We can work from file explorer, but it doesnt feel like an IDE when switching.