LuaLS / LuaLS/lua-language-server
Addon manager takes wrong path when using Lua.addonManager.repositoryPath
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Lua
- Star
- 4.4k
- Fork
- 442
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện vấn đề bằng cách đặt Lua.addonManager.repositoryPath thành repository được liên kết và kích hoạt một addon thông qua Addon manager. Theo dõi quá trình phân giải đường dẫn repository của addon manager, sau đó xác minh rằng các addon của repository tùy chỉnh được tải từ workspaceStorage mà không được sao chép sang globalStorage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua, vscode
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100