[Pharo-project] Can we change diff-generator to ignore white-space diffs?

Igor Stasenko siguctua at gmail.com
Sat Mar 10 21:10:23 EST 2012


On 11 March 2012 02:58, Dale Henrichs <dhenrich at vmware.com> wrote:
> Using the formatter means that you get to focus on only the semantic changes and all format related changes are filtered for you ....
>
> I'd rather not be bothered with diffs for methods that were merely formatted, but that's just me.
>
unless, you reformatted code and refactored it a bit.
Now because of overlapping highlights, i cannot verify, what exactly
changes i did.

And the worst of all is , when i click ' pretty print'
it barks with error "Undefined object are not indexable'... :)
as in
Pharo1.4a
Latest update: #14379

> Dale
> ----- Original Message -----
> | From: "Dale Henrichs" <dhenrich at vmware.com>
> | To: Pharo-project at lists.gforge.inria.fr
> | Sent: Saturday, March 10, 2012 5:53:52 PM
> | Subject: Re: [Pharo-project] Can we change diff-generator to ignore white-space diffs?
> |
> | formatted source code doesn't show up as different anyway?
> |
> | ----- Original Message -----
> | | From: "Dale Henrichs" <dhenrich at vmware.com>
> | | To: Pharo-project at lists.gforge.inria.fr
> | | Sent: Saturday, March 10, 2012 5:53:01 PM
> | | Subject: Re: [Pharo-project] Can we change diff-generator to ignore
> | | white-space diffs?
> | |
> | | "ignoring whitespace" means?
> | |
> | | ----- Original Message -----
> | | | From: "Igor Stasenko" <siguctua at gmail.com>
> | | | To: Pharo-project at lists.gforge.inria.fr
> | | | Sent: Saturday, March 10, 2012 5:44:39 PM
> | | | Subject: Re: [Pharo-project] Can we change diff-generator to
> | | | ignore
> | | | white-space diffs?
> | | |
> | | | On 11 March 2012 02:27, Dale Henrichs <dhenrich at vmware.com>
> | | | wrote:
> | | | > An approach that I've used in the past is to use a formatter
> | | | > both
> | | | > sides of the comparison ...
> | | | >
> | | |
> | | | Well, the point is that formatting changes are visible without
> | | | any
> | | | highlighting.
> | | | And if you will use formatter, then you won't see that guy
> | | | actually
> | | | just (re)formatted code.
> | | |
> | | | > Dale
> | | | >
> | | | > ----- Original Message -----
> | | | > | From: "Igor Stasenko" <siguctua at gmail.com>
> | | | > | To: "Pharo Development" <Pharo-project at lists.gforge.inria.fr>
> | | | > | Sent: Saturday, March 10, 2012 5:21:28 PM
> | | | > | Subject: [Pharo-project] Can we change diff-generator to
> | | | > | ignore
> | | | > | white-space   diffs?
> | | | > |
> | | | > | Because it makes things unreadable.
> | | | > | Here, i replaced spaces with tabs.. and see what happens.
> | | | > |
> | | | > |
> | | | > | --
> | | | > | Best regards,
> | | | > | Igor Stasenko.
> | | | > |
> | | | >
> | | |
> | | |
> | | |
> | | | --
> | | | Best regards,
> | | | Igor Stasenko.
> | | |
> | | |
> | |
> | |
> |
> |
>



-- 
Best regards,
Igor Stasenko.




More information about the Pharo-dev mailing list