在 VS Code 中轻松 review GitHub Pull Requests
相信大家在平時工作或者自己的項目中,一定都有在 GitHub 上進行 Code Review 的經歷。對于韓老師來說,不論是平時工作的項目,還是自己的業余項目,代碼基本都是在 GitHub 上。所以,在 GitHub 上進行 Pull Requests 的 Code Review 也是家常便飯。雖然 GitHub 的 PR review 功能已經做的越來越好,但是像?Go to Definitions、Find All References?等功能還是與本地的編輯器/IDE 不能相比。如果能在你所喜愛的編輯器/IDE 進行 Pull Requests 的 Code Review,是不是就很方便?
所以,GitHub Pull Requests for VS Code 插件應運而生!
GitHub Pull Requests 可以使得開發者在 Visual Studio Code 輕松 review 和管理 GitHub pull requests,功能包括:
在 VS Code 認證并連接到 GitHub 賬號
在 VS Code 中,列出當前 GitHub repo 的所有 pull requests
在 VS Code 中,review GitHub pull requests,進行文件比較,添加 comments
在 VS Code 中,輕松 checkout 當前正在 review 的 pull requests,從而可以利用 VS Code 強大的?Go to Definitions、Find All References、IntelliSense?等功能來驗證 pull requests
總結
以上是生活随笔為你收集整理的在 VS Code 中轻松 review GitHub Pull Requests的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: DevOps案例研究:知人善任——Goo
- 下一篇: 为什么说拥抱.NET CORE的时候到了