-
-
Notifications
You must be signed in to change notification settings - Fork 950
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
dart language server #41
Comments
Looks like the server need sometime to build the cache for completion, it works well after the server get started for a while. I think this is unnecessary:
|
Hm, also after waiting a while it doesn't work for me. On the contrary, yes it seems to display completions after I type in the DOT so for example |
I have increase the timeout for content sync, hope that could solve your issue. |
no doesn't work for me, I still see a lot of global results. I am currently using vim-lsc which works just fine with the dart_language_server |
@wwwdata I've figured it out, is's bug of dart language server, it claimed to support increment document sync, but it's buggy. vim-lsp could work because it doesn't support increment sync. |
Or add |
thx, that |
Figured out dart language server expect optional |
Describe the bug
I configured a custom language server for dart. It is starting up and displaying some auto completions. However it is just displaying auto completions when I type in a new line, not after i have some variable/instance and want to see methods. Then it does not recommend me anything. It seems that it is just auto completing global stuff.
To Reproduce
Configured the dart_language_server like this:
Expected behavior
I get some completion suggestions for instance variables as well like with LanguageClient-Neovim
Screenshots
Here you see it completes global stuff
However, it does not find methods of a class instance like it should:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: