Coder Social home page Coder Social logo

Comments (9)

haacked avatar haacked commented on May 28, 2024

@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.

PallasDoesCode avatar PallasDoesCode commented on May 28, 2024

Personally I'd like to be able to explore the ones on GitHub.

from visualstudio.

haacked avatar haacked commented on May 28, 2024

@RandomlyKnighted Interesting. For what purpose?

from visualstudio.

PallasDoesCode avatar PallasDoesCode commented on May 28, 2024

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.

haacked avatar haacked commented on May 28, 2024

@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

814

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.

PallasDoesCode avatar PallasDoesCode commented on May 28, 2024

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.

haacked avatar haacked commented on May 28, 2024

@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.

Patrickkk avatar Patrickkk commented on May 28, 2024

@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.

tocsoft avatar tocsoft commented on May 28, 2024

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
image

Basically add an Open file from GitHub command, this would follow this flow

  1. Click Open file from GitHub
  2. Select repo
    image
  3. Select a file from a GitHub branded open file dialog
    image
  4. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.