![]() ![]() You can select a file to open the Diff pane.Ĭommits: select a commit to narrow down the scope of displayed changes. If a file contains line comments, their count is also displayed here. For code reviews, this also shows the branch, which is under review for merge requests, it shows the source and target branches.įiles: list of files to be reviewed. Selecting a code review opens its main page with the following tabs:ĭetails: shows the author and reviewers. The list of code reviews available in Code Reviews depends on the repository that is currently opened in PhpStorm. The Code Reviews shows all code reviews of your Space project. It is also available via the Tools | Space menu or by clicking your profile picture on the right side of the toolbar. If your code is hosted on Space, the Code Reviews tool window opens automatically. In PhpStorm, you can use the Code Reviews tool window to browse available reviews, the Timeline pane to view the history of a review, and the Diff pane to preview changes and post line comments. To enable this feature, you must configure issue navigation patterns. In review titles, comments, and commit messages, you can enter task identifiers from your issue tracker, so that they are displayed as links redirecting to specified tasks in that issue tracker. By default, the currently checked out branch is selected as the source branch, and the configured main branch as the target.Įnter a meaningful title and assign reviewers. In the Code Reviews tool window that opens, click and select Create Merge Request. Create merge requestsĪ merge request is a special type of code review, which lets you compare two branches and invite your colleagues to review it.įrom the main menu, select Tools | Space | Code Reviews. Here, you can also filter commits by author, branch, commit message, and commit hash. In the Code Reviews tool window that opens, enter a meaningful title for your code review and assign reviewers.Īlternatively, you can create a code review by clicking in the Create Code Review tool window. To narrow down the list of commits, you can use the search field and filters. Right-click a commit and select Space | Create Code Review. In the View | Tool Windows | Git tool window, select the Log tab. ![]() Review code if you were invited to a code review, or join existing reviews.Ī code review lets your teammates review the changes made in scope of selected commits. With the Space plugin, you can:Ĭreate a code review if you want your colleagues to review specific commits.Ĭreate a merge request if you want your colleagues to review the comparison of two branches. The Space plugin allows you to invite your colleagues to review code and discuss changes directly in PhpStorm. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |