X Tutup
Skip to content

GDScript errors are reported in other filetypes (e.g. .rs files) #6

@ray-pH

Description

@ray-pH

Maintainer edit: The Godot engine catches and answers language server requests on files other than gdscript. This causes it to report errors on non-GDScript files. We don't have a way to control this behavior on this plugin's end. There is a pending fix to the Godot game engine: godotengine/godot#103186


When GDscript is running, the LSP is also active on other filetypes

Is there a config I should add to limit it to only run on GDScript files?

image
image

Steps to reproduce:

  1. Open a project that contains GDScript file and other files
  2. Open the GDScript file so that the lsp is running in the background
  3. Open a non-GDscript file, edit a little, and save the file
  4. The gdscript LSP will be active on that file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededupstreamDepends on a change in the Godot engine, Zed, or another dependency

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup