-
-
Notifications
You must be signed in to change notification settings - Fork 17
DidChange not working as expected #85
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
Comments
It has something to do with line numbers, seems like the language server does not like me creating code in lines that are below the original document. If my document had 5 lines at the beginning, I will get invalid change range at line 6 or 7. |
The language server is undergoing a massive rewrite. At this point in time that is all we'll be focusing on. We appreciate your effort in willing to give it a shot for your editor (which one, by the way?), |
Thank you for the response. |
cool!
it is, but there's heavy development going on these past few weeks. Not sure when we'll release it but it's undergoing some internal test and will be pushed to this repository when it's worthy of being bundled with the IDE 😉 |
Just to let you know. |
|
I am trying to implement this LS into my own IDE.
While clangd itself works flawlessly, this LS does not.
In this example I just create new lines in an empty file:
Creating a newline in 1:0 works.
Creating a newline in the new 2:0 does not, and gives me a invalid change range.
Here is the full log for the simple scenario.
If anyone knows why this is happening, please tell me :)
As I said, my way of handling didChange does work with plain clangd and other language servers aswell so I don't see the reason why this could fail.
The text was updated successfully, but these errors were encountered: