Home > News content

Microsoft didn't destroy GitHub VS Code integrated GitHub PR

via:博客园     time:2018/9/12 20:39:33     readed:555

VS Code has officially launched a preview version of the GitHub Pull Requests extension, a deep integration of the two products after Microsoft's acquisition of GitHub. On the afternoon of the 11th, many developers reported that GitHub was not accessible, and then learned that the reason for the impact on GitHub server was that VS Code was integrating GitHub's Pul Requests functionality. Kazakhstan? VS Code integrates GitHub PR function?!


Yes, I hope the stars are looking forward to the moon at last. Oh, yes, people who are bad at Microsoft's acquisition of GitHub can rest for a while.

according toOfficial network introductionVS Code is officially launched.GitHub Pull Requests extensionPreview, which is a deep integration of Microsoft's products after GitHub's acquisition.


Currently IDEs (though pure VS Code is defined as Editor just like Vim, Sublime, etc.) can be fully configured as powerful IDEs, so it's okay to classify them as IDEs) integrating Git functionality through third-party clients has become a trend, including IDEA, Eclipse, and even VS Code itself. It has been able to cooperate with Git for version control.

However, in this mode, when reviewing the source code, it is usually impossible to do it directly on the IDE, but forced to switch to a rude Web interface or third-party tools to operate. While it's easy to see the overview of code changes, in most cases, it lacks a complete context, making it impossible to understand where code changes are and how they affect the relevant code.

At the same time, moving from a familiar coding environment to a Web or other third-party tool environment also means developers can't use their favorite keyboard shortcuts, themes, and other custom options. What's more, this means that the developer loses an environment where he can switch code at will and verify the expected functionality of the code.

The VS Code PR extension introduced by Microsoft adds Pull Requests Manager to the original Source Control view, where developers can browse PR directly and interact with it, which is undoubtedly a great weapon for developers.

Specifically, the new GitHub Pull Requests extension is designed to help developers fromVisual StudioCode reviews and manages PR. The specific features include:

  • Authenticate and connect VS Code to GitHub.

  • PR is listed in VS Code and can be browsed.

  • Interact directly with PR in the editor, including commenting, and supporting Markdown.

  • Use the new local workflow checkout and run to validate the PR in the editor with rich language features such as Go To Definition and IntelliSense.

  • Terminal integration allows Visual Studio Code UI and command line tools such as Git to coexist.


China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments

Related news