LuaLS / lua-language-server

A language server that offers Lua language support - programmed in Lua
https://luals.github.io
MIT License
3.25k stars 305 forks source link

Signature provider (function parameter autocompletion) does not work with user-defined functions #273

Closed Janne252 closed 3 years ago

Janne252 commented 3 years ago

Steps to reproduce the issue:

  1. Create a new lua file in vsocde with the following content
    
    function Foo(param01, param02)

end

Foo()


2. Move the caret between the `Foo()` function call parenthesis and press `Ctrl+Shift+Space` to trigger signature provider.
3. Nothing appears. Expected to receive similar parameter information as with for example `table.remove`: ![image](https://user-images.githubusercontent.com/4705573/100626604-b6019000-332e-11eb-9620-bbde8b27f4fb.png)
Janne252 commented 3 years ago

@sumneko Thank you for the quick fix! It's working in the extension again as well.