LuaLS / LuaLS/lua-language-server
Addon manager takes wrong path when using Lua.addonManager.repositoryPath
未关闭
还没有人认领这个 Issue。
- 主要语言
- Lua
- 星标
- 4.4k
- 派生
- 442
- PR 合并指标
- 30 天内没有已合并 PR
描述
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Libraries
Expected Behaviour
I expect it works with custom repository addons (workspaceStorage)
Actual Behaviour
It works with official repository addons (globalStorage)
important note: I copied the files from "workspaceStorage" to "globalStorage" to illustrate the problem. Without this, the custom library will not activate.
Reproduction steps
- Go to 'settings', search for 'Lua.addonManager.repositoryPath'
- Type 'https://github.com/antim0118/LLS-Addons-LPYT'
- Open 'Addon manager'
- Activate any custom addon
- Nothing happens (because it tries to find the addon in globalStorage folder)
Additional Notes
No response
Log File
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
将 Lua.addonManager.repositoryPath 设置为链接的 repository,并通过 Addon manager 激活一个 addon,以重现该问题。跟踪 addon manager 的 repository 路径解析,然后验证自定义 repository 中的 addon 会从 workspaceStorage 加载,而不会被复制到 globalStorage。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- lua, vscode
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100