Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4j-dev] The first version of incremental file change is lost

Hi,

Did you get a solution to your problem? If you have a reproducible error, perhaps something with a log of messages, can you file a bug in https://github.com/eclipse-lsp4j/lsp4j/issues

Thanks
Jonah


~~~
Jonah Graham (he/him)
Kichwa Coders
www.kichwacoders.com


On Mon, 10 Jul 2023 at 08:48, Николай Владимиров via lsp4j-dev <lsp4j-dev@xxxxxxxxxxx> wrote:
Hello, everyone! I'm writing to you to ask about interesting bug that I found. I write the language server via lsp4j. The bug is: when user opens the file the method /didOpen is invoked. Then user does his first change, but program doesn't get it. When user does the second change in file, then program get it and handle.

I depend on the this first update, because on one autocompletion method is invoked with position is greater than current which is keeped via incremental changes. I write the simple if-statement that ignores the updates is less than 2, but it looks crutch. What should I do with this bug?


 
_______________________________________________
lsp4j-dev mailing list
lsp4j-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/lsp4j-dev

Back to the top