-
Notifications
You must be signed in to change notification settings - Fork 272
Unusual completion description #105
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
Comments
LanguageClient use detail field from the Language Server to show info on the menu, PHP Language Server fill the detail field with the return type https://github.com/felixfbecker/php-language-server/blob/35f33c8c91222b8409006cc68738e4000e33a4a3/src/CompletionProvider.php#L185 The documentation is stored in a info field https://github.com/autozimu/LanguageClient-neovim/blob/master/rplugin/python3/LanguageClient/LanguageClient.py#L48 |
Thanks a lot for the explanation, so, if there was some way to tell echodoc which field is needed the problem would be solved, right? |
echodoc show the documentation for the last completion but this do not affect the display of the menu, if you want the full signature in the menu you need to wait for felixfbecker/php-language-server#438 to get merged |
Closing as issue shall go to php language server, as DeltaEvo explained. |
I'm getting the return type of the function instead of the description or the method signature (with params). Is it configurable or anything? I don't know why does it happen, all the screenshots i've seen look better than min.
I'm using PhpLanguage Server, nvim-completion-manager and this plugin. Sorry if LanguageClient-neovim isn't the source of this problem.
programa para compartir fotos
The text was updated successfully, but these errors were encountered: