最萌小汐
最萌小汐
Are you looking for #1209 ?
You can use setting `workspace.library` for now. At present, I have encountered several problems, but I have no energy to solve them for the time being: 1. How to handle...
I will do some tries in 3.6.0
I just delete this line: https://github.com/sumneko/lua-language-server/blob/20d4be8bc74d6a78372f50112288fb6c4406b841/script/parser/relabel.lua#L351-L361
Since Lua can implement a sandbox, I can consider adding a setting "Don't load global variables from the following files". Currently, you can preprocessing this file through [plugin](https://github.com/sumneko/lua-language-server/wiki/Plugin).
> * `@class` suppresses "global variable in lowercase initial" warning: Do you want `---@class` do not suppress warnings?
> on second thought, i guess it depends? so maybe an option _may_ be the way to go here... or just treat it as [wontfix] > > it's just something...
> * retaining flow typing for declarations with initializers: > > ```lua > --- @type foo | nil > local x > x = { foo = 1 } >...
> * [ ] `@class` suppresses "global variable in lowercase initial" warning: > > ```lua > --- @class foo > function f() > end > ``` As design
> [ ] recursive types (not necessarily generic) - in my case i have an `@alias tree_node table` > * i've seen [Generics referencing generics #1161](https://github.com/sumneko/lua-language-server/issues/1161) which seems to imply...