Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Multiple Godot projects in one window

Abierto
#32 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
godot
Área
game-dev, tooling

Línea de trabajo

Comienza rastreando cómo se utiliza el Godot language server cuando hay varios proyectos de Godot abiertos en una sola ventana de Zed. Reproduce el escenario de dos proyectos descrito en el issue y determina si las instancias separadas se pueden asociar a las rutas de los proyectos o si se deben omitir los archivos no relacionados. Se considera terminado cuando los archivos de otro proyecto ya no producen diagnósticos de tipo faltante o de archivo no encontrado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
Tree-sitter Query
Estrellas
209
Forks
23
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GDQuest/zed-gdscript

Todos los issues de GDQuest/zed-gdscript

Issues similares

Más issues de Game Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.