Re: Version editor ignore whitespace?
Re: Version editor ignore whitespace?
- Subject: Re: Version editor ignore whitespace?
- From: Marco S Hyman <email@hidden>
- Date: Sat, 20 Jun 2015 15:37:30 -0700
On Jun 20, 2015, at 15:13 , Marco S Hyman <email@hidden> wrote:
>>
>> I want the “bar” vs “baz” change highlighted strongly.
>
> I don’t see the super-highlighting of within-line changes. I’m not sure whether that got removed in Xcode 7, or there’s a way of turning it on or off, or if it’s just broken.
I’m playing with Xcode 7.
> On Jun 20, 2015, at 10:56 , Marco S Hyman <email@hidden> wrote:
>>
>> Is there any way to tell Xcode
>> that I don’t want every space highlighted because I replaced an if let...
>> with a guard let... and re-indented the body of a function?
>
> You started off asking for something for lines you didn’t “really” change, and there is a menu item to do that. Now you’ve refined that to say that it hurts your eyeballs to see whitespace changes *slightly* emphasized along with non-whitespace changes when they occur in the same line. I think you’re fitting angels on heads of pins, here, even though what you’re suggesting is probably a slight improvement (of the old behavior).
That’s what I get for using a specific example. My error. That example is
but one of MANY ways that the Xcode 7 way of highlighting of diffs doesn’t
help (in my opinion, of course). That specific issue is helped by using
the right click menu option. Providing I didn’t change anything else in
the function.
As for what I’d like; no angels need be fitted to pins. An option to get a
side-by-side version of the output of "git diff --color" would do just fine.
Deleted text in red, new text in green, no background color change needed.
That hides whitespace changes quite nicely.
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden