Hello, Bitbucket fans 👋 It’s Dave from the Bitbucket Cloud product team.

We’re happy to introduce another enhancement to help your team better collaborate around code reviews, saving you valuable time – the ability to propose specific code suggestions within a pull request. Code authors can view and apply the proposed code changes without switching contexts, helping teams get pull requests completed even more efficiently.

This feature is available today to all teams using Bitbucket Cloud.


Enhance your comments with suggestions

During code review, sometimes you want to recommend a specific code change to the pull request author. The old way of doing this was to describe the suggested change (or perhaps include a code block) in a comment. The author would then visit their IDE, edit the file in question, and push the changes back up to Bitbucket.

Now, thanks to code suggestions, you can recommend a change that the PR author can accept right in Bitbucket. Just type /suggest in the comment editor (or select the Suggest code toolbar button ) and indicate your proposed code changes.

Animated illustration of adding a code suggestion to a pull request comment in Bitbucket Cloud.

If the author agrees with the change, they can select Apply suggestion and commit the change right there on the PR.

Animated illustration of applying a code suggestion to a pull request in Bitbucket Cloud.

Coming soon: Multi-line suggestions

Code suggestions can currently be applied to a single line of code. To make this feature even more powerful, we will soon be adding the ability to comment and propose changes across multiple lines of code.

To learn more about adding and applying code suggestions, visit the help documentation.


Feedback welcome!

We’d love to hear how your team is using code suggestions. If you have any feedback whatsoever – or if you’ve found a bug – please head to the Bitbucket help menu > “Give feedback” to share your thoughts with us.

Speed up PR reviews with actionable code suggestions