最萌小汐
最萌小汐
> After considering some more details, I think maybe it would be better if I could add comment to the parameters (and maybe also the returned value?) just as I...
Currently I have implemented this way: ```lua ---@param x number ---@param y boolean Interface = nil function Interface(x, y) -- x is number and y is boolean here end ```...
This is caused by the current generic implementation defect, and the generic implementation needs to be refactored in the future.
Operations on types are currently not supported
`unexpect-efunc-name`: ```lua local x = function x() end ``` `unexpect-lfunc-name` ```lua local function x:t() end ```
It is not difficult to keep backwards-compatible
Please install 2.5.3 See https://github.com/EclipseFdn/open-vsx.org/issues/1045
See https://github.com/sumneko/lua-language-server/wiki/Precompiled-Binaries
See https://github.com/sumneko/lua-language-server/wiki/Command-line You can specify binary and script files, such as `./bin/lua-language-server ./sumneko.lua/main.lua` EDIT: If you are using OpenVSX, there is no way, unless providing a special client for it.
https://github.com/sumneko/vscode-lua/blob/2db6b9ed6ce17142f33e12bed89f2c4b61178d3b/client/src/languageserver.ts#L90-L99 The path is fixed and there is currently no way to modify it.