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

Generic inverse search using show document request #1091

Closed
knuesel opened this issue Apr 22, 2024 · 0 comments · Fixed by #1102
Closed

Generic inverse search using show document request #1091

knuesel opened this issue Apr 22, 2024 · 0 comments · Fixed by #1102
Labels
enhancement New feature or request

Comments

@knuesel
Copy link

knuesel commented Apr 22, 2024

Maybe the LSP showDocument method could be used for a generic implementation of synctex inverse search?

The idea would be that TexLab accepts a CLI flag as in texlab --inverse-search /some/file.tex:123 and forwards the request as a showDocument to the appropriate editor. This simplifies the configuration for the user as it works the same for all editors that support this request, even editors that don't otherwise support inverse search.

For example the Helix editor currently offers no way to open/show a file in a running instance, but inverse search could still work through showDocument. This has been done to implement inverse search for typst.

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

Successfully merging a pull request may close this issue.

2 participants