cancel
Showing results for 
Search instead for 
Did you mean: 

How to compare the source in two open tabs in Eclipse with ADT (ABAP Development Tools) - Plugin?

Vlad_Ghitulescu
Participant

Hello!

Is there a way to compare the source in two open tabs in Eclipse with ADT?

Thanks!

Regards,
Vlad

Accepted Solutions (1)

Accepted Solutions (1)

ThFiedler
Product and Topic Expert
Product and Topic Expert

Hi Vlad,

for sure you can position two editor tabs in parallel in a kind of splitscreen mode. But there is no option for source code comparison for different object types. I know for JAva it is possible but not for ABAP. So this might be a potential candidate for another feature request. Put it in our backlog.

Regards,

Thomas.

joachimrees1
Active Contributor
0 Kudos

I'd like to have such a feature, yes!

It seems there is a standard sollution in Eclipse:

https://stackoverflow.com/questions/4623564/how-do-i-compare-two-files-using-eclipse-is-there-any-op...

...but the "with each other" compare-option doesn't appear, when I select 2 ABAP-sources....

...has this been actively removed in AdT? Or does it have to be implemented for every type of source seperately? After all, comparing text seems a pretty generic thing...

(Very cool if we get a ABAP-Specific compare, but for a start a generic one would suite me fine)

best
Joachim

joachimrees1
Active Contributor
0 Kudos

Just found there is some way to use those generice-compare-functions, sebastian.wolf nicely explained it here:

https://answers.sap.com/comments/12149784/view.html

But of course I still hope to get a real AdT-Source-comparison for ABAP-sources ( like SE39 ) .

matt
Active Contributor
0 Kudos

What I was looking for just now is a comparison where I can edit either side. It would make my year complete. 😉

UweFetzer_se38
Active Contributor
0 Kudos

Hi thomasfiedler ,

4 years later: still in your backlog? I need this feature NOW, where can I upvote 😉

Cheers, Uwe

UweFetzer_se38
Active Contributor
0 Kudos

Just opened an Improvement Request, you can vote here: ADT: Compare ABAP sources with each other

Answers (1)

Answers (1)

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Vlad,

you find the option to compare versions in the context menu of the editor.

You can compare versions from revision history, local history and very nice the option to compare sources between several systems.

Is this what you are looking for?

Regards,

Thomas.

Vlad_Ghitulescu
Participant
0 Kudos

Hi, Thomas!

Yes, I found this too.

What I was asking for was comparing two open tabs (with two different named sources).

Regards,
Vlad

Vlad_Ghitulescu
Participant
0 Kudos

Thanks, Thomas!