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

Language Server Protocol support #36

Open
gnull opened this issue Mar 25, 2024 · 1 comment
Open

Language Server Protocol support #36

gnull opened this issue Mar 25, 2024 · 1 comment

Comments

@gnull
Copy link

gnull commented Mar 25, 2024

Hey!

I see that texpresso supports multiple different editors via ad-hoc plugins made separately for each one. Would it make sense to unify the interface and provide texpresso as an LSP?

This way, it would trivially work with many different editors with no need to add support one-by-one. And the LSP interface seems sufficient for texpresso's functionality.

Ivan

@let-def
Copy link
Owner

let-def commented Mar 26, 2024

Hi,

The existing protocol does the job quite well, and it allows for cheap experimentation with Vim/Emacs. It would not make sense to remove it in my opinion, but adding LSP as an alternative protocol could be a good idea. I don't have the time to do this, but it would be welcome as a contribution.

However, I am thinking that adding support for TeXpresso to an existing LSP server, likely https://github.com/latex-lsp/texlab, is maybe the way to go. TeXpresso can only provide a subset of the features expected from an LSP server.
A dedicated LSP server like TeXlab can make better decision about what features to expose, and when to use TeXpresso and when to use other sources of information.

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