dense-analysis / dense-analysis/ale

Add more useful information in autocompletion results

Open
#2,536 10 comments 12 reactions 0 assignees View on GitHub
enhancement LSP
Dominant language
Vim Script
Stars
14k
Forks
1.5k
Avg merge
17h 49m
Merged PRs (30d)
1

Description

Ale is a great vim plugin and I have been happily using it for a while. I am experimenting with its code completion functionality recently. One thing I notice is that the popup menu for C-family languages does not have the function signature. The attachment is the result of code completion in a cpp file using Ale's omnifunc and `clangd` as the linter:
![Screenshot from 2019-05-26 07:11:33](https://user-images.githubusercontent.com/16892446/58381011-ac071000-7f86-11e9-9701-fe6a49031ed2.png)

While I can see the type of the completed keyword, I don't have any information about the function argument list. I also tried [vim-lsp](https://github.com/prabirshrestha/vim-lsp) with `clangd` and the result is shown below.
![Screenshot from 2019-05-26 07:14:19](https://user-images.githubusercontent.com/16892446/58381044-f8525000-7f86-11e9-91a1-1d3496351320.png)

As can be seen, `vim-lsp` provides the user with the complete function prototype which could be extremely useful for complicated functions. I am wondering if the same thing can be implemented in ale. If it is already part of ale, can you elaborate a bit how to enable it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.