LuaLS / LuaLS/lua-language-server

Feature Request: Language server to be recursive regardless of trailing slashes

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

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

enhancement
主要言語
Lua
スター
4.4k
フォーク
442
PR マージ指標
30日以内にマージされた PR はありません

説明

When executing the language server binary with --check [path] flag, it will only diagnose the immediate child elements of the given path if it contains a trailing slash
Currently, if I want to diagnose a project different subdirectories via the CLI, e.g. the lua-language-server itself, I'll need a script that calls the binary for every subdirectory of the project to get a full report - and as a result I get a check.json for every subdirectory with diagnosed problems. Edit: Just have to make sure the path format is correct.

So for example, I'd like to call something like
.\language-server\bin\lua-language-server.exe --check .\language-server\ --recursive
and have all the source files in subdirectories checked as well.
That way it might also be possible to have a single check.json as a report as well.

The correct enhancement to propose is to handle things like a trailing slash in the path the same

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

言語サーバーの --check [path] エントリポイントから開始し、末尾にスラッシュが付いたパスがどのように処理されるかを追跡します。同等のパスに対する再帰的な診断を比較し、その後、末尾にスラッシュがある入力とない入力が同じ完全なレポートを生成することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。