Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: [Subclipse-users] Ignore whitespace when diffing

subclipse
Discussion topic

Hide all messages in topic

All messages in topic

Re: [Subclipse-users] Ignore whitespace when diffing

Author Mark Phippard <markphip at gmail dot com>
Full name Mark Phippard <markphip at gmail dot com>
Date 2007-07-27 12:11:23 PDT
Message On 7/27/07, Ruslan Sivak <rsivak at istandfor dot com> wrote:
> Mark Phippard wrote:
> > On 7/27/07, Ruslan Sivak <rsivak at istandfor dot com> wrote:
> >
> >> Is this an option somewhere, or would it be possible to implement
> >> "Ignore whitespace" options the same way that TortoiseSVN does? And
> >> another thing, if you set up an external tool for Diff/Merge in options,
> >> why does it only use it for Resolve Conflicts, and not when you're
> >> actually diffing 2 files?
> >>
> >
> > Ignore whitespace is an option you can set in two places. There is a
> > toolbar button to do it on the fly while in the editor and then you
> > can also set it in preferences under General > Compare Patch.
> >
> Thank you, I found the option under General > Compare Patch. It's not
> very obvious though to most people that this is where they would go to
> change this option. Would it be possible to add this to the SVN options?
>
> I also can't seem to find the toolbar button to do it on the fly.

I have attached a screenshot. You cannot see the mouse cursor, but it
is the one in the middle.

As for the preference, it is not our preference, so I'd be reluctant
to want to try building a UI for someone else's preference in our
pages.

--
Thanks

Mark Phippard
http://markphip.blogspot.com/
Attachments

Re: [Subclipse-users] Ignore whitespace when diffing

Author Ruslan Sivak <rsivak at istandfor dot com>
Full name Ruslan Sivak <rsivak at istandfor dot com>
Date 2007-07-27 12:00:58 PDT
Message Mark Phippard wrote:
> On 7/27/07, Ruslan Sivak <rsivak at istandfor dot com> wrote:
>
>> Is this an option somewhere, or would it be possible to implement
>> "Ignore whitespace" options the same way that TortoiseSVN does? And
>> another thing, if you set up an external tool for Diff/Merge in options,
>> why does it only use it for Resolve Conflicts, and not when you're
>> actually diffing 2 files?
>>
>
> Ignore whitespace is an option you can set in two places. There is a
> toolbar button to do it on the fly while in the editor and then you
> can also set it in preferences under General > Compare Patch.
>
Thank you, I found the option under General > Compare Patch. It's not
very obvious though to most people that this is where they would go to
change this option. Would it be possible to add this to the SVN options?

I also can't seem to find the toolbar button to do it on the fly.
> The difference with diff and edit conflicts is that the latter is just
> an option we have implemented where we can do pretty much anything we
> want. The Compare options are all built on the Eclipse compare
> framework (which involves more than the final editor) and there is
> just no way to insert an external editor in the process. This really
> ought to be an enhancement for the Eclipse compare framework. It'd be
> cool if you could just define compare editors by filetypes and just
> let the framework do the right thing. Then every tool would get this
> capability.
>
>
Hmm... Didn't realize that this piece was provided by Eclipse and not
SubClipse.

Russ

Re: [Subclipse-users] Ignore whitespace when diffing

Author Mark Phippard <markphip at gmail dot com>
Full name Mark Phippard <markphip at gmail dot com>
Date 2007-07-27 11:42:53 PDT
Message On 7/27/07, Ruslan Sivak <rsivak at istandfor dot com> wrote:
> Is this an option somewhere, or would it be possible to implement
> "Ignore whitespace" options the same way that TortoiseSVN does? And
> another thing, if you set up an external tool for Diff/Merge in options,
> why does it only use it for Resolve Conflicts, and not when you're
> actually diffing 2 files?

Ignore whitespace is an option you can set in two places. There is a
toolbar button to do it on the fly while in the editor and then you
can also set it in preferences under General > Compare Patch.

The difference with diff and edit conflicts is that the latter is just
an option we have implemented where we can do pretty much anything we
want. The Compare options are all built on the Eclipse compare
framework (which involves more than the final editor) and there is
just no way to insert an external editor in the process. This really
ought to be an enhancement for the Eclipse compare framework. It'd be
cool if you could just define compare editors by filetypes and just
let the framework do the right thing. Then every tool would get this
capability.

--
Thanks

Mark Phippard
http://markphip.blogspot.com/

Ignore whitespace when diffing

Author Ruslan Sivak <rsivak at istandfor dot com>
Full name Ruslan Sivak <rsivak at istandfor dot com>
Date 2007-07-27 11:36:17 PDT
Message Is this an option somewhere, or would it be possible to implement
"Ignore whitespace" options the same way that TortoiseSVN does? And
another thing, if you set up an external tool for Diff/Merge in options,
why does it only use it for Resolve Conflicts, and not when you're
actually diffing 2 files?

Russ
Messages per page: