Is there a more usable way to see diff info *and* full source in a pull request?

\[Bitbucket 4.12.1]

When doing reviews of code that's new to me I can see the diff in a pull request.
I also can click the 'View full source' icon, but that view does not contain the diff info.

At last I can keep clicking the grey 'hidden context' areas to reveal more parts of the source code, until I can see the full source with the pull-requests diff. – But that is not a workable solution for daily business.

Is there a way to achieve the 'full source + \[unified] diff' view from the pull request's diff view in < 50 clicks?

 

If not - is there already a feature request ticket? (Maybe even one that I can vote on?)

2 answers

1 accepted

1 vote

You can Cmd/Ctrl + Click on the hidden context area to fully expand it. 

0 vote

Hi Simon,

I think you might be looking for the side-by-side diff option. That will show the full source and the unified diffs from both sides of the diff.

image2017-1-27 8:26:24.png

You are right that this is an option to have full context + full diff, that I did not mention in my question. Thanks for that.

However it has the drawback of wasting 50% of screen estate available to source code which – upon trying -- I consider a serious drawback. (Even your screenshot is sort of a nice illustration of that.)

Fair point about side-by-side diff using a lot of the screen; I tend to collapse the file tree on the left to get more diff on my screen and then use 'j' and 'k' to iterate over files.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,902 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you