LuaLS / LuaLS/vscode-lua

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

オープン
#163 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。