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

DocCache in the resource list #78647

Closed
MewPurPur opened this issue Jun 24, 2023 · 2 comments · Fixed by #78653 or #78615
Closed

DocCache in the resource list #78647

MewPurPur opened this issue Jun 24, 2023 · 2 comments · Fixed by #78653 or #78615

Comments

@MewPurPur
Copy link
Contributor

Godot version

4.1.beta3 (again)

System information

4.1.beta3 - Ubuntu 22.04.2 LTS 22.04 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (4 Threads)

Issue description

DocCache is listed in resources.
image

If instantiated, it looks like this:
image

I can't find it in the Search Help menu. However, if I type it in the script editor and Ctrl+LMB, it leads to this documentation page:
image

This is weird, as I just showed the class has properties. Normally, undocumented classes have fields for each undocumented property or method. This makes me think this is unintended. An undocumented class with members normally looks like this:

image

Steps to reproduce

Outlined above. F1 to open the Search Help menu. This button to create a resource:
image

Minimal reproduction project

N/A

@dalexeev
Copy link
Member

godot/editor/editor_help.cpp

Lines 2323 to 2326 in 030c1a9

if (!doc) {
GDREGISTER_CLASS(DocCache);
doc = memnew(DocTools);
}

@akien-mga
Copy link
Member

CC @RandomShaper
It might not need to be registered at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants