Please clarify that you need a local installation of git for the addons to work
未关闭
还没有人认领这个 Issue。
addon manager
- 主要语言
- TypeScript
- 星标
- 215
- 派生
- 62
- 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 expected the extension to work out of the box or have a a set up guide.
Actual Behaviour
Currently on windows the addon manager throws an uncaught spawn git ENOENT without any details. I had to go back through the logs to figure it out, that I need a local git installation.
Reproduction steps
- Install Visual Studio on a fresh windows machine
- Install the lua lls extension
- Try to open the addon manager
- Get the
spawn git ENOENTerror with the trimmed logs
Additional Notes
It would be enough to include a section in the documentation, or handle this error.
Log File
I'm including the extension log as this is a dependency issue with simple-git
The relevant line is line 322.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 VS Code 插件管理器以及附加日志第 322 行中描述的 simple-git 失败开始。复现全新 Windows 环境下的设置,然后确认本地 Git 前置条件已被记录,或者缺少可执行文件时会产生有用的已处理错误,而不是未捕获的 spawn git ENOENT。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- git, typescript, vscode
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100