godotengine / godotengine/godot-vscode-plugin
Hover tooltips show the description of the script twice
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.4.1stable
### VS Code version
1.100.2
### Godot Tools VS Code extension version
2.5.1
### System information
Windows 11
### Issue description
When hovering a class name symbol, the VSCode tooltip does not show the brief description and shows the main description twice. However, all other symbols (functions, variables) work just fine.
For example, taken from the Godot documentation,
```
class_name SampleClass
extends Node
## A brief description of the class's role and functionality.
##
## The description of the script, what it can do,
## and any further detail.
##
## @tutorial: https://example.com/tutorial_1
## @tutorial(Tutorial 2): https://example.com/tutorial_2
```
The tooltip shows the following:

### Steps to reproduce
- Open a project in VSCode
- Create a script with documentation comments for the class_name
- Hover over the class_name symbol
Contributor guide
Assessment
This issue has not been assessed yet.