No tooltip help on arguments of auto-imported BIFs
Describe the bug
After typing the name of a function and an opening parenthesis, ELP provides some help on argument names and types in a tooltip:
However, this doesn't work for auto-imported BIFs such as register/2, only when using a fully qualified function call syntax:
(Please also note that for whatever reason the tooltip shows as if erlang:register would exist with two different arities, while in fact there's only a single erlang:register/2, and both the 1/2 and 2/2 help messages look identical.)
To Reproduce
In the body of a function type register(.
Expected behavior
Auto-imported BIFs should show the same help message regardless of using the fully qualified function call syntax or not.
Actual behavior
Auto-imported BIFs should only show any help message when using the fully qualified function call syntax.
Context
- ELP Version (output of
elp version):elp 1.1.0+build-2024-04-29 - Editor used: VS Code
Thanks @dszoboszlay , I can reproduce. Adding to our backlog. In LSP terms, the feature is called signature help.
This is what I now get
And