LuaLS / LuaLS/vscode-lua

Git submodules are handled in a weird way

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

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

主要言語
TypeScript
スター
215
フォーク
62
PR マージ指標
30日以内にマージされた PR はありません

説明

Which OS are you using?

Linux

Expected Behaviour

I would like completion and linting to work :(

Actual Behaviour

Capture vidéo du 2023-12-21 21-17-28.webm

The stent folder is a submodule. This bug happens also with every other submodule in my workspace.

Reproduction steps
  1. Open a folder in VSCode with Lua code, which contains Git submodules also with Lua code defining type classes, globals, etc.
  2. Open a file from the main folder which depends on submodule code (classes or globals) in VSCode editor
  3. See these references are unknown or undefined
  4. Open in a second tab a file from the submodule
  5. Go back to the first file, see that the references are right
  6. Close the file from the submodule
  7. Go back to the first file, see that the references are unknown or undefined
Additional Notes

No response

Log

Will provide it full if needed but its long due to being workspace related stuff and I looked into it without finding an error or something suspicious.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

issue ではファイルやテストが特定されていません。記載された手順を使って Linux VSCode workspace で動作を再現し、その後、extension における workspace と submodule の処理、および language-server integration を追跡してください。完了条件は、submodule のファイルを先に開かなくても completion と linting が submodule 内の Lua 定義を認識することです。

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

評価

技術スタック
git, lua, typescript, vscode
領域
developer-experience, tooling
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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