Deleting all of the code in my script below class_name, saving, then restoring that code and saving again does restore my tooltips… But it also destroys all of my settings, in all locally-saved copies of that resource.
Thankfully, I tested this in a resource that stored only testing data. I can’t do that for all of my resources.
Does this have to do with how tooltips are cached in the editor? Is that something I can flush?
Update 2: Reloading the editor loses the tooltips again.
Editing the resource’s script and saving restores tooltip access. This is maddening?
How can I ensure my tooltips aren’t… forgotten? cleared? un-cached? when I open the editor.
Maybe deleting your .godot folder would help re-check the scripts rather than destroying your current exports/settings. You may be able to “Open Documentation” by right clicking the property or ctrl-clicking the variable in scripts. Sadly GDScript doc comments seem to be hit or miss, I cannot tell why either.
That did it, it seems. I’ll keep an eye out for it happening again.
I poked around inside .godot before deleting it, and I saw a few .cfg files for script documentation cache. I assume those had to be generated fresh—but why? What could case them to need to be re-made in the first place?