rls
rls copied to clipboard
rls::actions: Out of order or duplicate change "…/lib.rs"
I'm using LSP with Sublime Text 3. When I type code in lib.rs
I get an error popup for every keystroke, which makes it impossible to use the editor with RLS enabled.
server: DEBUG 2018-11-01T14:01:33Z: rls::actions: Out of order or duplicate change "/…/lib.rs", prev: 24, current: 2
server: TRACE 2018-11-01T14:01:33Z: rls::server::io: response: "Content-Length: 156\r\n\r\n{\"jsonrpc\":\"2.0\",\"method\":\"window/showMessage\",\"params\":{\"message\":\"Out of order change in \\\"/…/lib.rs\\\"\",\"type\":2}}"
Closing and reopening editor window "fixed" the out of order error, which I can't reproduce now.
I get this error consistently when using with a tool similar to cargo-watch. Seems like the Eclipse Corrosion plugin is having a similar issue. This is likely an issue somewhere inside of RLS; it seems to originate from here.
This issue should be reopened.
This Error can especially be reproduced with Eclipse Corrosion when Identing the Code with tab
s
as documented in the related issue
Eclipse Corrosion - Out of Order Error
@kornelski I'm interested in looking into the rls
logs.
How did you enable the Logging and where did you find the Logs?
I've used Sublime Text's console to see the log.
As discussed in the analysis of the related Eclipse Corrosion Issue this error might originate from an asynchronous Event Submission to the rls
Service
Eclipse Corrosion RLS Log Analysis