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

Please consider adding ability to configure path to Godot project subfolder within Zed project folder

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
godot
領域
devtools, game-dev

調査の方向性

まず、GDScript 拡張機能がプロジェクトルートをどのように特定し、Godot 言語サーバーを起動するかを追跡します。より大きな Zed プロジェクト内にネストされた Godot プロジェクトで、.gdshader バッファーも含めて問題を再現します。オプションの相対プロジェクトパスを設定でき、言語サーバーがそれを使用してファイルを誤分類しなければ完了です。

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

説明

help wanted upstream

Hopefully the gibberish in the title above makes some sense. Can you please consider adding an optional GDScript extension setting to specify the relative path to Godot project subfolder if not the same as Zed project root folder?

Basically, when your Zed project root and your Godot project root is the same folder everything appears to be working fine. However when your Godot project is a subfolder buried somewhere down the hierarchy of your Zed project folder structure this is where things start to happen.

Most notably, when you open the Zed project you are always greeted by a toast saying "The GDScript Language Server might not work correctly with other projects than the one opened in Godot".

Another issue is that Godot LSP appears to start parsing incorrect file types with GDScript syntax, even its own types. For example, if say you have a .gdshader file open in one of Zed buffers with something like this:

shader_type spatial;
render_mode unshaded, skip_vertex_transform;

Re-saving this buffer without any changes will trigger new LSP errors all over the place in it clearly todo with shader code being treated as .gdscript instead of .gdshader:

Image

None of this appears to happen when both Zed and Godot project roots are the same folder. Potentially also related to https://github.com/GDQuest/zed-gdscript/issues/6.

The debugger appears to work fine regardless of whether Zed project root == Godot Project root or is down the hierarchy. It looks like only Godot LSP is affected.

Now if you ask me why do I even need to have Godot project in a subfolder of Zed project it is just common sense when organising your project structure. Any game will most likely have other related resources that need to live side-by-side with your Godot project but not a direct part of it. You may have a Documents folder for notes and docs, a Blender/Houdini/Whatever folder for modelling, a Gimp/Affinity/Whatever folder for imaging, server backend source code, you name it. Everything sitting in a common project root dir under source control in a single git repo. At least this is how I'm grouping project stuff together where it makes sense.

This way you can hop between your notes, godot code, server backend code, etc related stuff in a single instance of Zed. As well use Zed's built-in Git support for source control.

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

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

GDQuest/zed-gdscript のほかの issue

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

似ている issue

DevTools の issue をもっと見る

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

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