godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.48k stars 148 forks source link

Hovering over any non-symbol shows all enums #535

Closed moritztim closed 7 months ago

moritztim commented 7 months ago

Godot version

v4.1.3.stable.arch_linux

VS Code version

1.84.2

Godot Tools VS Code extension version

1.3.1

System information

Arch Linux

Issue description

image Hovering over anything that doesn't have a definition somewhere just shows all enums, which is really annoying. In the screenshot I am hovering just to the right of a function name.

Steps to reproduce

hover around a bit until you find this. For example:

  1. declare a function
  2. Hover over the opening bracket
DaelonSuzuka commented 7 months ago

Hovers are provided by the Language Server, which is part of the Godot engine itself. As such, this is a bug in the engine and there's nothing I can do about it.

That said, I'm using Godot 4.2beta3, and I can't reproduce this. It's possible they've already improved this behavior in the LS.