-
-
Notifications
You must be signed in to change notification settings - Fork 893
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
Lsp-mode doesn't filter input text #3408
Comments
It may help providing the communication between server and client, you can achieve that following https://emacs-lsp.github.io/lsp-mode/page/troubleshooting/#log-client-server-json |
is this the right log? |
It seems server is returning empty results for |
I can confirm that if typing |
seems like a cache bug... It has to be investigated. cc @kiennq |
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
I'm using
lsp-dart
and I'm experiencing a glitch that I described on this issue.When I type a
{
anywhere in my code, specially when is a function start the snippets menu open to fast, so when I tap Enter to break the line, it applies the snippet selected on the context menu opened. According to the other issue this occurs because lsp-mode doesn't filter the input text.Steps to reproduce
.dart
filevoid test(){<enter>}
Expected behavior
The expected behavior is that the menu doesn't open on some places, like the example above.
Which Language Server did you use?
lsp-dart
OS
Linux
Error callstack
No response
Anything else?
maybe @ericdallo can provide more information about this on lsp-dart side
The text was updated successfully, but these errors were encountered: