Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this be used to compare Abap source? #134

Open
MDagni opened this issue Jun 27, 2024 · 3 comments
Open

Can this be used to compare Abap source? #134

MDagni opened this issue Jun 27, 2024 · 3 comments

Comments

@MDagni
Copy link

MDagni commented Jun 27, 2024

I use Eclipse to develop SAP Abap code using SAP ADT plugin. Can I use Bex Compare to compare versions of Abap code? I installed the plugin but it's not listed in the available compare editors.

image

Abap files are not listed in the Navigator view. I can see them in the Project Explorer as below.

image

image

Properties view:

image

Thank you.

@CodesAway
Copy link
Owner

I'll be honest, I haven't looked at BEX in a while. From what I recall, it works on Java files only.

Looking at the plugin.xml, which controls when BEX is an available editor confirms this.

<extension
point="org.eclipse.compare.contentMergeViewers">
<viewer
class="info.codesaway.eclipse.jdt.internal.ui.compare.JavaContentViewerCreator"
extensions="java,java2"
id="info.codesaway.eclipse.jdt.internal.ui.compare.JavaContentViewerCreator"
label="BEX Code Compare">
</viewer>
<contentTypeBinding
contentTypeId="org.eclipse.jdt.core.javaSource"
contentMergeViewerId="info.codesaway.eclipse.jdt.internal.ui.compare.JavaContentViewerCreator">
</contentTypeBinding>
</extension>

@CodesAway
Copy link
Owner

As you'll notice based on the class name, I had to use some workarounds and copy Eclipse's internal code in order to even create a compare editor (they didn't make it easy).

@MDagni
Copy link
Author

MDagni commented Jul 1, 2024

So it's not possible then. Thank you for your attention and efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants