最萌小汐
最萌小汐
请解决冲突
默认是单线程的,要使用 `--multicore` 启动参数才会启用多线程,而且测试下来效果并不好。 回到issue本身,折叠窗口这个功能是VSCode前端实现的,卡顿的话只会和前端相关的插件有关,自己二分调试一下看看。语言服务器是后端插件,只负责上报能折叠的区块信息,如果卡顿的话表现是需要很久才会出现折叠的按钮,你点击折叠键的时候已经和语言服务器无关了。
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 
You should use: ```lua ---@class equipment_mgr local mt = {} mt.__index = mt ---@return db.Equipment function mt:get_equipment(uid) return self.equipment[uid] end ```
@carsakiller It seems that many people will try to declare fields for class by `---@type`. Can you add the correct method to the wiki (using `---@class`)?
> @sumneko I am confused 😄. Could you clarify how and why this should be done? incorrect ```lua ---@class A ---@type A local m = {} m.someValue = 1 --...
I can support `readonly` first.
Just add keyword `readonly` ```lua ---@class A ---@field readonly x number ---@field private readonly y number local A = {} ---@readonly ---@protected A.z = 1 ```
Using the "multi-workspaces" feature of VSCode.
This feature is currently working fine; the only flaw is that the name `getRealParent` is misleading; its actual function is `getRealPath`. I believe the issue you're encountering is caused by...