LuaLS / lua-language-server

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

[love-api] many callback functions are missing #1779

Open lua-rocks opened 1 year ago

lua-rocks commented 1 year ago

These functions are undefined:

I really don't understand why the api has all these aliases, but in vscode these functions appear as undefined 🤷.

Maybe @alias is a wrong way to define class fields or is the total number of possible class fields limited?

For some reason, some of them show up, but most do not!

sumneko commented 1 year ago

These functions should be implemented by user. However this server dose not support ---@override for now, so you can only use ---@type to get infers

image