Easily review comments in Atom
For quick and easy access, you can now view comments from review in Atom from a dock next to the editor.
![Image announcing the new code review features in Atom](https://github.blog/wp-content/uploads/2019/04/atom-review-twitter.png?resize=1024%2C512)
Code review is a social, emotional, and logistical process. Receiving a pull request review is a particularly vulnerable moment. What do my peers think of my work? What do I need to improve based on this feedback? How can I make sure I’ve addressed all concerns?
To improve the pull request review experience—and make taking them back to your text editor as easy as possible—we’re excited to share review comments in Atom. Starting with Atom 1.37 beta, you can view comments from reviews in a dock next to the editor. This dock provides seamless navigation between comments and code or text, so you can easily make changes in response to feedback. To ease anxiety about whether or not you’ve addressed all comments, check the progress bar to see how many unresolved comments remain.
Details, details, details
We’ve also added a few more features to help you through your reviews:
- Resolve comments: Mark comment threads as resolved from the review comments dock. Resolving a comment thread advances the progress bar, providing a visual indication and a well-deserved sense of satisfaction for moving closer to your goal.
- Show diff formatting: The dock shows you the lines of the diff immediately surrounding the comment. Need more context? Click the Open Diff button to see the diff for the entire pull request.
- Expand and collapse comments: Since comment threads can get lengthy, we wanted to give you the ability to focus on just the information that’s most useful to you. To reduce visual clutter, you can collapse and expand review summary comments and comment threads.
- Navigate changes with line highlighting and gutter icons: See which line of code or text a comment belongs to with line highlighting and gutter icons. Clicking a gutter icon also opens the reviews dock and scrolls to that comment. Note that in order to see any highlighting and icons, you must be signed in to GitHub for Atom, and on a branch that’s checked out and corresponds to a pull request.
- Checkout and refresh: If reviews are on a different branch than the one you’ve checked out, you can still see comments but can’t jump to the file or mark comments as resolved. To checkout a pull request branch, use the handy “Checkout” button at the top of the reviews dock. While you’re up there, you can click the refresh icon to fetch new comments and reviews.
Design iterations
Our early designs for code review in Atom felt like re-creating GitHub.com in an editor.
You have a different mental context when you’re in a browser than when you’re in an editor. Fundamentally, you use an editor to edit code or text. We decided to approach pull request review differently and prioritize an editing-centric experience. Editing code around a long comment or thread can be disruptive, so instead of inline comments we decided to build a dock alongside the code or text for you to show (or hide) as you need it.
The next step was user research to validate our dock designs. We tested our assumptions to verify that the new designs were comprehensible and useful. Research participants were excited to have a method to address review comments without switching between GitHub.com and their editor.
Participants expressed that reacting to comments with emojis was an important way to let reviewers know that feedback was received. Emoji reactions also served as a way to say thank you or great job. Emojis can also add subtext, express tone, and help people communicate more empathetically.
Additionally, the flow for responding to comments was more important than we realized. As code authors, our users wanted the ability to ask if they addressed a reviewer’s concern, rather than make assumptions. It makes sense—pull request reviews are a two-way conversation. We incorporated this valuable feedback and added replying to comments and emoji reactions to our minimum viable ship.
Sadly, any feature with a social component has the potential for abuse. For your safety, the comments dock hides the text of comments that GitHub users have reported as abusive or spammy. To decrease the likelihood of misuse, we also asked for a feature review from our friendly Community and Safety Team prior to launch.
Next Steps
To get early access to review comments in Atom, download Atom 1.37 Beta. If you have feedback or want to receive news about what’s next, check out the Atom repository. Thanks for reading, and happy editing (and reviewing!).
Get early access to new Atom features
Tags:
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.