Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Multiple Godot projects in one window

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
godot
領域
game-dev, tooling

調査の方向性

1つの Zed ウィンドウで複数の Godot プロジェクトが開かれている場合に、Godot language server がどのように使用されるかをまず追跡します。issue で説明されている 2 プロジェクトのシナリオを再現し、個別のインスタンスをプロジェクトパスに対応付けられるか、または無関係なファイルをスキップすべきかを判断します。別のプロジェクトのファイルによって、型が見つからない、またはファイルが見つからないという診断が発生しなくなれば完了です。

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

説明

upstream

I'm submitting a...

  • Bug report.
  • Feature request.

Bug report

What is the current behavior?

If you open multiple Godot projects in one Zed window it uses the connected Godot instance for files from all projects, resulting in file not found errors in Godot and type not found in Zed diagnostics.

What is the expected behavior?

Ideally, Godot language server would handle this, but given that's not under your control here maybe only operate on files in the first project in the list in Zed?

Tell us the steps to reproduce the bug, and if possible share a minimal demo of the problem.

  1. Add two Godot projects to a single Zed window.
  2. Open one of them in Godot for the language server to start.
  3. Open a file from the other project in Zed.
  4. See errors reported for missing types.

Feature request

Describe the problem you're trying to solve.

I have been working on a selection of prototypes/demos in Godot and often have extra projects open for reference besides the main one I'm working on at the time, but this results in errors as detailed above.

Tell us which solutions you've explored, the solution you would pick, and why you think it would be the best for everyone.

Aside from avoiding the errors from multiple projects, it would be nice if this extension could handle multiple projects each connected to a separate running Godot instance, but I am not sure how you would go about this.

I think you'd have to detect running Godot instances and check the project paths against them, if that's even provided by the Godot LSP, to direct file diagnostic requests to the correct Godot instance or skip it if no matching instance is found.

Having the dynamic Godot instance detection could also be useful beyond this as it would allow you to run Godot on different ports without reconfiguring the plugin in Zed.

Other

Other information

I'm primarily reporting the issues I've faced with the multiple projects and don't expect multiple to be supported, but thought it would be good to document it all :) I'd love to see it at least filtering out files not a part of the main project though!

主要言語
Tree-sitter Query
スター
207
フォーク
23
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

GDQuest/zed-gdscript のほかの issue

GDQuest/zed-gdscript の issue をすべて見る

似ている issue

Game Dev の issue をもっと見る

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

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