Editor Tools


Review pull requests from within Visual Studio

The GitHub for Visual Studio Extension team has been running a beta of pull request reviews from within Visual Studio for nearly a month, and we’re very excited to announce the feature has shipped this week!

Viewing, checking out, and reviewing pull requests are part of our every day workflow as GitHub users. And if you develop with Visual Studio, you no longer have to leave your editor to work in pull requests with your team.

What to expect

The most recent release of our extension supports you through these common pull request workflows:

Pull request navigation

  • Quickly view all of the pull requests on the repository you’ve cloned from Team Explorer
  • View the details of a specific pull request and checkout the pull request branch
  • See which pull request is checked out right from the status bar. If you don’t have one checked out, this button will link you back to the list of pull requests

navigation

Review code

  • Start a review from the GitHub pane within Visual Studio
  • Open the diff view of files edited within the pull request by clicking on any of the changed files
  • Leave an inline comment, and start a review from that comment
  • Submit a review that comments, approves, or request changes to the pull request

Review Code

Address feedback in Visual Studio

  • Click on a comment in the GitHub pane within Visual Studio to open it in a diff
  • View all of the reviewers for a given pull request
  • View all of the reviews that a specific reviewer has left on a pull request

address feedback

What else is in this release

This release also includes:

  • An enhancement to make navigation from diff to editor view more discoverable
  • A bug fix for GitHub Enterprise users that was causing avatars to be repeatedly downloaded
  • A fix for an initilization bug that caused MEF initialization to slow down Visual Studio extensively
  • A navigation improvement that gives users one-click access to the pull request they’re working on or the list of pull requests if they are not currently on one—even if the GitHub panel is not open
  • An update using GraphQL instead of REST

How you can help

As we continue to build on the GitHub for Visual Studio Extension, we want to know how we can best support the workflows of our users and contributors. Even if you don’t write code in Visual Studio, we’re wondering:

  1. How do you and your teammates communicate in pull requests?
  2. When in an editor, how do you use GitHub.com to: (a) Look at the list of pull requests? (b) Open a new pull request? (c) Look at the details of the pull request you are working on?
  3. When reviewing a pull request, what is important to you? For example, does it matter to you who authors a pull request?

Let us know on Twitter at @GitHubVS or head over to our tracking issue on pull request workflows to share your thoughts and help us improve our features!

Connect with us

If you haven’t already, be sure to follow us on Twitter at @GitHubVS to see what we’re up to or check out our repository and start contributing!

GitHub for Unity Package Beta Release

GitHub for Unity Beta now available

Sadly, GDC 2018 is coming to a close. Tens of thousands of developers visited San Francisco to explore the latest and greatest in the gaming industry—including a large number of Unity developers who might be excited to hear that we’ve released GitHub for Unity Beta to support them through their adventures in game development.

GitHub for Unity Package

Our Unity package provides Unity game developers with the benefits of source control and GitHub without having to switch to the command line. The package already included basic Git support from within Unity and allowed you to use GitHub features in just a few clicks. With our latest update, you can now take advantage of Git LFS and file locking, too.

Git-LFS and file locking

Git-LFS provides a unique experience for game developers. With the ability to store your large asset files outside your repository (but still on GitHub.com servers) your repository becomes a more manageable size, making cloning and fetching much faster. You gain versioning and the same integrated Git workflow you use for text files for large asset files. Git-LFS also brings your team file locking, ensuring your assets are not overwritten or corrupted.

All of our features

  • Unity 5.4 and above on both Mac and Windows
  • GitHub authentication (including 2fa) with HTTPS support
  • Git management added to Unity, providing users with user and email configuration, Git remote configuration, and Git installation path configuration
  • Local repository management including a list of changes, selective commit, and the ability to discard file changes
  • Git and GitHub repository operations including lists of commits with details that can be reverted and branch operations including listing local and remote branches. You can also create and publish new branches, delete existing branches, and of course fetch, push, and pull operations between local and remote
  • File locking with visual locking indicators in the UI within the file, a list of locked files, and notifications when a file is locked by someone else

Open source

And don’t forget, our package is open source. We encourage you to share feedback, report bugs, and contribute where you can! Just visit our GitHub for Unity repository to get started!

Inline comments in GitHub for Visual Studio

GitHub for Visual Studio 2.3 adds the ability to comment on pull requests directly from your IDE. Simply open a pull request in the GitHub pane in Visual Studio, and open a compare view, and you’ll see existing comments right there in the editor. Click the icon in the margin to add new comments.

Inline comments using without leaving your IDE

The functionality is limited right now to adding single comments, but we’re hoping to bring the whole GitHub review experience right into Visual Studio soon!

On top of that, we’ve shipped a whole bunch of new features and bugfixes. To find out more check out the release notes.

Learn how to use GitHub with your favorite IDE

Join the GitHub Training Team for a week dedicated to IDEs. We’ll feature a different IDE every day and show you how to make the most of your GitHub workflow alongside the tools you already use.

IDE Week

Monday September 11: GitHub and GitHub Desktop

GitHub Desktop isn’t an IDE, but if you don’t use an IDE with a Git or GitHub integration, it’s the next best thing. Learn how to create branches, commit changes, and sync your local repository with GitHub.com—all from our new, Electron-based Desktop App.

Register now

Tuesday September 12: GitHub and Eclipse

Learn to use the eGit plugin with Eclipse to create branches, view diffs, commit changes, and push and pull from GitHub.com.

Register now

Wednesday September 13: GitHub and Visual Studio

Work with GitHub no matter what Microsoft IDE you choose. Join Microsoft Senior Software Engineer Jeremy Foster and GitHub Trainer Matt Desmond as they clone repositories, commit changes, create pull requests, and more using different features and extensions of Visual Studio.

Register now

Thursday September 14: GitHub and Xcode

Whether you’re a seasoned macOS developer or building your first iOS app, you’ll learn how to connect two of the most powerful development tools around with Xcode’s robust GitHub integration. We’ll also show you how to clone repositories, create branches, commit changes, and sync your changes with GitHub.com without leaving Xcode.

Register now

Friday September 15: GitHub and Atom.io

Our hackable text editor now has a Git and GitHub Integration. Learn how to create branches, commit changes, stage, and push—all from the comfort of your Atom Editor.

Register now

GitHub for Unity 0.16-alpha released

$GitHub for Unity 0.16-alpha

We announced GitHub for Unity at the Games Developer Conference back in March and open sourced it at Unite Europe in June. Thanks to our contributors and more than a month of effort, version 0.16-alpha is now available.

Download the latest release

Highlights from the release notes

Support for Unity 2017

GitHub for Unity now works with the latest Unity 2017 release.

Publish new repositories

Now you can publish repositories to GitHub without leaving the comfort of Unity.

You can now publish repositories in GitHub for Unity

Delete old branches

Branching is a safe and easy way to introduce new features, work on bug fixes, or experiment with that idea you had in the shower.

Whether your branch is meant for merging or just sharing with a teammate, you may want to delete it at some point. Now you can without switching to the command line or googling “How do I delete a Git branch both locally and remotely?”.

Delete old branches in GitHub for Unity

Special thanks to @CapnRat for leveling up the authentication workflow with github-for-unity/Unity/pull/58. You can now use Enter / Return as confirmation keys when you’re in the authentication flow.

Download the latest release of GitHub Unity, view the full release notes—or contribute back to help us reach version 1.0. Your feature requests, bug reports, and pull requests are all welcome. Onwards!

Newer

Changelog

Subscribe

Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more