-
Notifications
You must be signed in to change notification settings - Fork 21
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
vscode editor support #37
Comments
Hello, |
Hi, I wrote a simple extension: https://marketplace.visualstudio.com/items?itemName=DominikPeters.texpresso-basic / https://github.com/DominikPeters/texpresso-vscode The technically difficult part was translating character offset into byte offsets. |
Thank you, that looks very nice. I am not a vscode user myself so I cannot test however. |
Yes, putting a link sounds good. |
I see that you are using a rope data structure for mapping the logical coordinates to byte coordinates, that's a good idea. I don't know if you have seen, but the protocol also has support for line-indexed changes. That is useful for neovim which have broken byte indices. Would that help with VSCode? |
Thank you so much for your contribution! I will check it out. |
Thanks, I tried the lines protocol but couldn't get it to work. VSCode informs the extension about changes by giving a list of changes, each of which is specified by |
Now that texpresso-vscode is referenced in the README, I think that this issue could be closed. |
Hey!
Nice to see this project! I seen texpresso support Emacs and Neovim.
Have any plan to support vscode?
Yin
The text was updated successfully, but these errors were encountered: