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

Script classes are not added to documentation initially upon opening the project #103040

Closed
Nintorch opened this issue Feb 19, 2025 · 1 comment
Closed

Comments

@Nintorch
Copy link

Tested versions

  • Reproducible in v4.4.beta4.official [93d2706], v4.3.stable.official [77dcf97], v4.1.3.stable.official [f06b6836a]

System information

Godot v4.4.beta4 - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - integrated AMD Radeon(TM) Graphics (Advanced Micro Devices, Inc.; 31.0.12018.5) - AMD Ryzen 5 5500U with Radeon Graphics (12 threads)

Issue description

In newer versions of Godot when you open your project the script classes are not automatically registered in the documentation.

Image

This results in issues like this when in 4.4 beta 4 you want to hover on a method from a custom class to find what it does but instead it shows nothing useful:

Image
A screenshot to show that the method exists:
Image

Image
A screenshot to show that the method and a documentation comment for it exist:
Image

But the moment the script is edited and saved, the issue for this specific script is gone:
Image

Image

Steps to reproduce

  1. Create a project (or open the MRP)
  2. Create a script, add class_name to it (or use "new_script.gd" in MRP, change it a bit and save it)
  3. Notice that it exists in the documentation when you click on "Search Help"
  4. Exit Godot
  5. Delete .godot folder in the project
  6. Open the project
  7. Reload the project
  8. Notice that now the class doesn't exist in the documentation

Minimal reproduction project (MRP)

BugCheck.zip

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

2 participants