Is there a widget to display diffs for ASTNodes? [message #257251] |
Thu, 06 November 2008 14:03  |
Eclipse User |
|
|
|
Originally posted by: myawn.ebay.com
I'd like to be able to display a diff dialog for specific ASTNodes to a
developer, allowing them to choose one vs. the other to be kept. Is
there a widget (either standard SWT/Eclipse or from somewhere else) that
provides this?
I'm looking essentially for side-by-side display of two equivalent
ASTnodes (ex, two MethodDeclarations, or two ClassInstanceCreation
statements), and some sort of marker of differences (color coding,
indicators in margin -- whatever).
There will be a simple either-or selection, I'm not trying to do some
sort of merge where the user might preserve portions of both.
Currently I'm building a dialog with side-by-side JFace SourceViewer
components, which doesn't give me any way (that I'm aware of) to
highlight what is different between the two.
Thanks,
Mike
|
|
|
Re: Is there a widget to display diffs for ASTNodes? [message #257320 is a reply to message #257251] |
Tue, 11 November 2008 10:39  |
Eclipse User |
|
|
|
Mike Yawn wrote:
> I'd like to be able to display a diff dialog for specific ASTNodes to
> a developer, allowing them to choose one vs. the other to be kept. Is
> there a widget (either standard SWT/Eclipse or from somewhere else)
> that provides this?
Nope.
Dani
>
> I'm looking essentially for side-by-side display of two equivalent
> ASTnodes (ex, two MethodDeclarations, or two ClassInstanceCreation
> statements), and some sort of marker of differences (color coding,
> indicators in margin -- whatever).
>
> There will be a simple either-or selection, I'm not trying to do some
> sort of merge where the user might preserve portions of both.
>
> Currently I'm building a dialog with side-by-side JFace SourceViewer
> components, which doesn't give me any way (that I'm aware of) to
> highlight what is different between the two.
>
> Thanks,
> Mike
|
|
|
Powered by
FUDForum. Page generated in 0.07393 seconds