I see 4 sets of colors for code highlights: light green, dark green, light red and dark red. I'm not entirely sure what they mean and which code I should look at when doing a PR review. Mainly do I look at only dark green code or light green as well? How is light red different from dark red?
This get's especially confusing when dealing with a PR that branched off a different un-merged branch and I'm unsure of which code to be focusing on.
Is this question about Bitbucket Cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It sounds like you have Enable word diff turned on in your viewing preferences.
Enable to display a darker shade of color on lines that have been updated or changed.
The light red/green represents lines that have changed.
The dark red/green represents individual characters on the lines that have changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So if multiple lines are light green but have no dark green on them, that means that they weren't changed in that branch? Or is there a different meaning?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have Enable word diff turned on and there is no dark highlighting on a line, that means the entire line changed - in other words, the entire line was either added or removed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmmm, ok thanks. I think I'm getting confused because sometimes the lint will add spacing or rearrange things and it thinks the whole line was changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Feel free to upload a screenshot here if you want to discuss further!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.