Closed afonsocarlos closed 5 years ago
Maybe @roxma can say if floating / preview support would be possible in NCM2 ?
Phpactor currently provides this information through the hover shortcut - which I guess should eventually be displayed in a floating window (and include the docblock info, as currently it's just the method synposis).
You could try this plugin: https://github.com/ncm2/float-preview.nvim
I guess this can be closed now that #20 was closed.
Currently, NCM2 doesn't seem to provide detailed info about functions being completed which, in result, does not display the preview window (or the brand new floating window as of neovim 4.0).
There are cases though where opening the preview window would be great, e.g. when you have a method suggestion with tons of default arguments, which don't get auto-completed.
Obs: It would also be really nice to have ncm2 providing a basic description to the suggested methods/functions (like their phpDoc comment if any i.e)