Multiple Godot projects in one window
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
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
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.
- Add two Godot projects to a single Zed window.
- Open one of them in Godot for the language server to start.
- Open a file from the other project in Zed.
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de GDQuest/zed-gdscript
-
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
GDQuest/zed-gdscript#98 · 6 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
GDQuest/zed-gdscript#97 · 4 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
GDQuest/zed-gdscript#78 · 6 comentarios · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
GDQuest/zed-gdscript#71 · 5 comentarios ·
-
upstream
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
GDQuest/zed-gdscript#69 · 10 comentarios · 1 reacción ·
Todos los issues de GDQuest/zed-gdscript
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Aurorastation/Aurora.3#23342 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Money ExploitsAbiertoS: Untriaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
project-wayfarer/wayfarer-14#1628 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
mpfaffenberger/privateer_reimagined#658 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
anchapin/armored-archer#1436 ·
Los mantenedores suelen responder en 1 día
-
ChromieCraft Generic Confirmed World Event
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
azerothcore/azerothcore-wotlk#27882 ·
Los mantenedores suelen responder en 1 día