-
Notifications
You must be signed in to change notification settings - Fork 184
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
zls: sublime doesn't seem to trigger a completion request on each keystroke, instead rely on fuzzy search #2288
Comments
Without seeing the LSP logs I will guess that it's a duplicate of #976 which is caused by an upstream issue sublimehq/sublime_text#3990 |
sublimehq/sublime_text#4855 might be even more relevant (it was fixed and then regressed again). |
I am interested in:
|
https://packagecontrol.io/packages/Zig%20Language
|
There seems to be something very wrong with sublime LSP Here a different server: ols https://github.com/DanielGavin/ols/ Using sublime odin: https://github.com/odin-lang/sublime-odin
It should show Yet it doesn't: I tried to cycle through the list but what you see is all there is Until i type at least 3 first characters: VSCode works as expected on 1st char: |
Could be the same issue. If you type |
No luck, it still doesn't show Here, i removed all other functions to remove noise, i only left
Something strange |
Some logging information when it builds the CompletionItem, i put some print in completion.py file trigger: |
Having space characters and/or braces and colons is something that probably throws off ST. But I'm guessing at this point |
It would probably work better if the server wouldn't provide |
Same problem if the server doesn't send the If it works with vscode, it should work with sublime How do i debug this further? |
On the left
log:
And on the right
log:
It literally receive the same json.. why one shows it, the other don't? My guess: a bug in Sublime Text 's CompletionItem API Version: 4143 |
Even if i change the symbol's name, it's always the same: 2 first character doesn't show the completiton, it always starts at the 3rd character i type, definitely a bug with ST |
I have reported the issue here: zigtools/zls#1247 it contains all the information related to the bug including a video showing the bug in action
I'm not sure how to debug that, and i suspect it is a client problem rather than a server one since VSCode works properly
I will provide more information once i'm back home, don't hesitate to ask me for questions/information, or suggestions how to debug this, thanks
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: