Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of exported GDScript variables does not appear in Inspector #96084

Closed
glevner opened this issue Aug 25, 2024 · 2 comments
Closed

Comments

@glevner
Copy link

glevner commented Aug 25, 2024

Tested versions

  • Reproducible in 4.3.stable.

System information

Godot v4.3.stable - macOS 14.6.1 - GLES3 (Compatibility) - Apple M3 - Apple M3 (8 Threads)

Issue description

When opening an existing project, comments beginning with "##" for exported variables in GDScript are not displayed in the Inspector panel, which just says No description available. If you resave the relevant script file, the documentation reappears.

Steps to reproduce

Create a new project. Create a Node root node, and add a script to the node:

extends Node

## Oh, look! An exported variable!
@export var glorp = 0

The variable appears in the Inspector panel, but the property's tooltip initially says No description available. If you save the script file, the documentation appears in the Inspector panel.

Now, Quit to Project List and reload the project. The property's tooltip again says No description available. You must make a change to the script file and resave it for the documentation to reappear.

Minimal reproduction project (MRP)

N/A

@Hilderin
Copy link
Contributor

I think this issue will be fixed by #95821

@dalexeev dalexeev closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants