It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted
Felix Atlassian Team Jan 30, 2017

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

0 votes

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
Community showcase
Posted in Bitbucket

Share your software development horror stories!

Hey Community! I work on the Bitbucket product marketing team. With Halloween approaching, we wanted to discuss a topic tailor-made for October: development horror stories. Whether it was a lurk...

532 views 6 2
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you