ionide / Ionide-vim

F# Vim plugin based on FsAutoComplete and LSP protocol
MIT License
174 stars 21 forks source link

Function selection tooltip doesn't show the heredoc #41

Closed OmanF closed 2 years ago

OmanF commented 2 years ago

Describe the bug When choosing an autocomplete function from the pop-up, the hovered over function's heredoc isn't displayed in the pop-up window, instead the window is blank

To Reproduce Steps to reproduce the behaviour:

  1. Invoke the autocomplete pop-up (for example, type List. and wait for the autocomplete pop-up to show all List's module functions).
  2. Iterate over the functions.

Expected behaviour Each hovered over function should show its heredoc in the pop-up window.

Screenshots

https://user-images.githubusercontent.com/7848797/140601668-e0593a56-30ec-4c11-8a10-bd089d4fb5dd.mp4

Environment (please complete the following information):

cannorin commented 2 years ago

This is just deoplete + LC-neovim/nvim's LSP lacking such a feature. We need to find a way to invoke hover from deoplete. Also, users might be using a different autocompletion plugin than deoplete, which makes things more complicated.

cannorin commented 2 years ago

I've figured out this is because deoplete-lsp does not call completionItem/resolve.

OmanF commented 2 years ago

Great! Thanks for your constant work on improving this plugin!

cannorin commented 2 years ago

Closing this in favor of #46 since this is because deoplete-lsp is lacking the required feature, and this would not be improved since its development is finished.