Try to extract function argument names from signature, before defaulting to the first clause #1362
Labels
code completion
contribution welcome
The authors do not have expertise on this, so external contributions are welcome
feature
Describe the bug
Some signature suggestions from
stdlib
are missing, e.g. lists:member/2. Is there a way I can add some of missing suggestions via new PR, or even better, is there a way to automate creating suggestions from source/edoc? Same thing occurs when using Erlang LS with NeoVim.To Reproduce
VSCode, erlang-ls extension v0.0.35 or erlang_ls 0.41.2 with NeoVim, type "lists:memb" and press enter.
Expected behavior
Suggestions should be "Elem" and "List".
Actual behavior
Actual suggestions are "Arg1" and "Arg2".
Context
erlang_ls
version (tag/sha): 0.41.2The text was updated successfully, but these errors were encountered: