-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Editor: Inspector and Signal docks improvements #81221
Editor: Inspector and Signal docks improvements #81221
Conversation
fca337b
to
614a557
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a debug print and a bit of cleaning, but code looks good otherwise.
The addition of the hint string seems safe to me, as far as core changes are.
614a557
to
c33ca26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! |
@export_category
interferes with the property inspector tooltip #64432.1. Fixes a part of #78934 (no description for properties after
@export_category
).There is now a way (
hint_string
) to distinguish type categories from custom categories. This is consistent with scripts, they already usehint_string
.godot/core/object/object.h
Line 492 in 549fcce
godot/core/object/script_language.cpp
Line 124 in 549fcce
Also we can make the background a bit less bright than normal categories.
2. Added a tooltip when hovering a class item in the Signal dock, to be consistent with the Inspector.
3. Added "Open Documentation" context menu for classes to Inspector and Signal docks.
4. Fixed a bug with displaying incorrect tooltips for callback items.
Before:
After:
5. Fixed a bug where descriptions could be truncated if they contain
::
(themaxsplit
argument forString.split()
is now specified)