Skip to content

Visual Studio Community Integration Needed #12946

Closed

Description

@herboren

Feature needed to be implemented
Integration provides no feature for visual studio community as an editor.

Windows 10

image

Activity

  1. added
    integrations
    on Sep 13, 2021
  2. niik commented on Sep 13, 2021

    @niik
    Member

    Hi @herboren, thanks for opening this. We'd be happy to add support for Visual Studio Community Edition. Is this something you would like to contribute?

    Please see our documentation on adding editors for more details on how to go about doing that.

    Given that we haven't had support for VS "classic" before there might be some trickiness when it comes to actually launching it with a file or directory but the first step would be detecting it and seeing what works and what doesn't

  3. herboren commented on Sep 14, 2021

    @herboren
    Author

    I don't mind trying to get it to work. Is there some way to validate on my side if this works. I have already modified the code and on a fork, but have no way to compile or run the changes. I don't want to push the commit if I can't debug somehow 🤔

  4. niik commented on Sep 14, 2021

    @niik
    Member

    Hey @herboren, please check out our documentation on how to set up a development environment in order to be able to test your changes locally

  5. added
    help wanted
    on Nov 9, 2021
  6. Nico-Connor-Personal commented on May 23, 2022

    @Nico-Connor-Personal

    Implementing Visual Studio support required an unconventional approach since Visual Studio doesn't use a unique registry key like most other IDEs.

    Thankfully as of Visual Studio 2017 v15.2, Microsoft includes a CLI tool called vswhere with the visual studio installer to help locate the install path of their IDE.

    Unfortunately, since this is an external program, it is much slower than looking at the registry to find the install path.

    Since currently available editors are calculated at startup, using vswhere could slow down the whole startup of GitHub desktop.

    To use vswhere we first need to change the way available editors are loaded. Instead of loading them at run-time we should load them when needed as per this issue: #14666

    Once the above issue is completed we could implement visual studio support using vswhere.

  7. steveward commented on Apr 20, 2023

    @steveward
    Contributor

    Requested in #16565.

  8. steveward commented on Sep 16, 2024

    @steveward
    Contributor

    GitHub Desktop now supports adding a custom external editor, so I'm going to close this out as Visual Studio can be added by pointing to devenv.exe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedintegrations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions