Comments (9)
@Patrickkk Thanks for the suggestion. Which git repositories do you want to explore? The ones on GitHub or the ones you have cloned locally?
from visualstudio.
Personally I'd like to be able to explore the ones on GitHub.
from visualstudio.
@RandomlyKnighted Interesting. For what purpose?
from visualstudio.
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.
from visualstudio.
@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.
from visualstudio.
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.
from visualstudio.
@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.
from visualstudio.
@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).
from visualstudio.
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
- Click Open file from GitHub
- Select repo
- Select a file from a GitHub branded open file dialog
- Download the contents via the api (if it doesn't already exist in a local repo?) and open file in the editor.
from visualstudio.
Related Issues (20)
- Unexpected problem
- Commit Changes Button is not Visible while adding .gitignore in My Main Branch, Please Look into this and provide necessary workaround!!
- Tailwind CSS not working on visual studios
- Failed to launch debug adapter - 17.6.0 Preview 1 - Blazor HOT 1
- Bug report
- {! Doctypehtml} HOT 1
- VS Community 2022 RUN and Compile functions aren't available
- A
- QuickWatch Doesn't Have "View" Button For StringBuilder (VS 2022)
- xaml live preivewer is mirrored
- VS 2022 Mac 17.5.4 cannot build project from external ssd
- Documentation re: reviewing github pull requests is out of date
- Slow run times
- Ft
- A repository named "Foo already exists for owner "MyGitHubUser" -- but no, it does not
- Activity 2
- My link
- Add an option/tool to convert selected members of a class to positional record
- New Here
- visual studio docker error: NU1301: Unable to > load the service index for source
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from visualstudio.