-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sublime Text: Port works only on small examples #31
Comments
I'll use this issue to respond to your e-mail as well. First, let me start by saying I'm very happy that LTEX might be used for other editors than VS Code. You have probably noticed that up to now, LTEX LS has not been developed with other language clients than vscode-ltex in mind. Hence, its development has been kind of rough:
I can try to improve the first two points, for instance by decoupling the versions of language server and client, and by adding some documentation. The third point is of course harder to fix properly; the best way (apart from avoiding extensions altogether) would probably be to announce support for extensions in the LSP server/client capabilities during initialization, and to fall back to some vanilla mode if they are not supported. By the way, Now to the actual issue: The message at the end of your post with the |
I actually did already implement those extension. I do process the progress messages and on workspaceSpecificConfiguration I answer with a empty message, since in sublime users can overwrite settings directly.
This did solve everything. LTEX for sublime is working now 🎆 . I did wonder before how you inject the patch into the classloader - now I know. |
Maybe in such case you can mention me in the commit/pull-request? I'll give my best to resolve the issues on sublime side. |
All of the points I mentioned should be improved now.
|
Nice work. Gonna try 9.0.0 tomorrow with sublime. |
9.0.0 has been released, the points I mentioned are now fixed. |
Hey,
I created a Sublime Text Plugin LDAP/LSP-ltex-ls which is using the LSP client plugin and your language server to provide language checking for latex and markdown in Sublime Text.
It is already working for little examples:
![grafik](https://user-images.githubusercontent.com/8215084/101290581-8e656880-3803-11eb-9206-34a6e6bf66e6.png)
But it stuggles with only little more complex examples like:
In this case the Server does not send any
textDocument/publishDiagnostics
.I attached the log for the above example.
lsp.log
The currently supported LSP capabilities in sublime can be found here. I implemented the extensions for
progress
andworkspaceSpecificConfiguration
.I observed, as soon as I correct any spelling mistakes myself (above is -> ist) the grammar check begins to work again.
This may be unrelated but I got this message from time to time:
The text was updated successfully, but these errors were encountered: