I'm trying to use sourcekit-lsp with Sublime and it's works wine, except one: On the subj toolchain it fails to provide any autocompletion with the error: server: error response (Request Cancelled): .
In the same time Jump to definition and Find References action works fine.
The issue starts right today with the both changing toolchain from 12.02.19 to 04.03.19 and changing default sublime swift syntax theme. I’d tried to restart Sublime, but this doesn’t fix the issue now (previously were).
Also I’d open some python project to check is it broken everywhere and in python project completion works well, but not in the swift one.
Tomorrow I’ll post full log output for sure. I’ve already set this options to true and the only error I’ve seen were the error above. Everything else seems fine in lsp logs. But once again tomorrow I’ll post full logs output.
Right after Sublime load completely completion by keyboard shortcut works, as hover popup are, hope this seen in the log. But after i start typing anything, e.g. var x = URL it fails and i get the error message.
I'd check it more carefully and you're right — the problem is occures the same as the link above, after the space typed. Like, if i continue to type code line var x = U after the Sublime restart to var x = UR the completion is working. If i starts the new line with the white space — it fails immediately.
But again. I'm checking the repeatability of the issue on the Python project and there LSP client completion works well even in lines like x = some_func() in exact same session.
Also i have the completion calls in logs, but each time this action occurs there's error message no available completion showing in the Sublime status line.
UPD: Wow. I just found out. The completion still works in some existed code lines. Like _rate = orderProperties.rate, if i continue this line with dot — it shows the completion popup. But when i'm starting the new line with var declaration with instance of some syslib type (i'd tried String either URL) — it fails. So i guess it could be related to whitespaces, new lines or some syslib calls.