简体   繁体   中英

Code Review with Git inside Visual Studio 2015

We're using TFS 2015 with the built-in Git integration. So far, I've managed to create pull-requests and perform code review via the web interface, but we would prefer to have a solution integrated into the IDE.

I have looked at Review Assistant and I'm not sure whether it can connect to our existing TFS server. (It seems to require its own custom review server?)


EDIT: The main functionality we desire is being able to look at past history of a particular method to see if it has been code reviewed, what comments were made previously, and what changes have been made since then. Also being able to determine code-coverage would be nice.

Can this be done by the existing web interface?

Visual Studio 2015 has a "pull request" hub in Team Explorer that will give you limited access to pull requests. However, pull requests are first and foremost web-based in TFS, and I don't expect that will change.

You can use branch policies in conjunction with pull requests to enforce builds (which can generate code coverage metrics) and required code review. Then there's no question: If it's been merged, it's been reviewed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM