Skip to content

Conversation

@AndreasTu
Copy link

Hello,
I would like to change the forward/reverse search behavior of SimpleSynctexParser by an SynctexParserAdapter, from another eclipse plugin.

The use case is, I generate *.tex files from other files like *.java, *.groovy, *.scala and *.md.
The generated tex files are not much help to jump to. So it would be great to jump directly to the real source instead of the generated *.tex file.

The SynctexParserAdapter allows me to modify the lookup of the PDF target or the source file to jump between e.g. *.java and the PDF file.

The adapter will implement the ISynctexParser methods and change the returned file paths, if the adapter find a corresonding java file.

The SimpleSynctexParser was not changed, i only "intercept" the method calls by the adapter.

The extension point is used to scan for adapters in the EclipseIDE, so that your plugin do not have to implement my custom logic.

This only a proposal, please comment on my idea and let me know what you think about it.
I would be pleased to help to integrate the feature.
Andreas Turban

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

Successfully merging this pull request may close these issues.

1 participant