LuaLS / LuaLS/vscode-lua

Please clarify that you need a local installation of git for the addons to work

未关闭
#163 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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
  1. Install Visual Studio on a fresh windows machine
  2. Install the lua lls extension
  3. Try to open the addon manager
  4. Get the spawn git ENOENT error 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

exthost.log

The relevant line is line 322.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。