godotengine / godot-vscode-plugin

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

Fix poor documentation formatting of class titles and inheritance chain #628

Closed jogly closed 2 months ago

jogly commented 3 months ago

It seems the extended inheritance chain previously being parsed is no longer available, which causes the "Inherits: " information to be empty. Inspecting the symbol information available, it seems there is no way to recover the inheritance chain without additional queries or modifying LSP response, so a quick fix to display the correct information that we do have is an incremental improvement.

Before

image

After

image
DaelonSuzuka commented 2 months ago

@jogly Thanks for catching this and for the quick fix.