Commit Graph

439 Commits

Author SHA1 Message Date
d82d9c30fd Merge pull request #106432 from arkology/editor-help-search-index
Fix EditorHelp's `FindBar` search index
2025-05-20 11:37:20 -05:00
9a44deefc9 Fix EditorHelp's FindBar search index 2025-05-20 05:58:30 +00:00
bd73ab4e03 Merge pull request #105576 from GustJc/fix_tooltip_disappearing
Fix EditorInspector tooltip disappearing in special cases
2025-05-15 10:22:26 -05:00
30a0e46f1f Merge pull request #103689 from timothyqiu/text-file
EditorHelpBit: Fix symbol type name capitalization for text files
2025-05-13 16:22:09 -05:00
201238168c Some QOL and cleanup to EditorHelp's FindBar 2025-04-30 21:43:05 -04:00
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
b4e6ef34c6 Merge pull request #105691 from Grublady/signal_doc
Make documentation ignore undocumented private signals
2025-04-25 11:36:06 -05:00
e2ccf9b7c4 Make documentation ignore undocumented private signals 2025-04-24 16:56:34 -04:00
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
7e79c07ba7 Fix tooltip disappearing with wintab tablet driver 2025-04-20 13:46:07 -03:00
889410dcda Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
e8eeccebcb Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
903e850390 Fix EditorHelpBitTooltip in single window mode. 2025-04-07 10:38:10 +03:00
e47207ad16 Fix updating editor icons on translation change. 2025-03-28 15:04:32 +02:00
f09ee0171a Style: Begin integrating simple .clangd fixes 2025-03-22 13:24:35 -05:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
c1b7865ae9 Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
0cc7e2c27a Merge pull request #95821 from anvilfolk/cache-gd-docs
Scripting: Fix script docs not being searchable without manually recompiling scripts
2025-03-13 08:57:40 -05:00
d2d02d0ea8 EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
97ee05e9b7 Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
72045c8306 Scripting: Add script documentation cache to project
This PR adds a script documentation cache in the project folder.
It is loaded at alongside native documentation caches. This makes
scripts fully accessible through Search Help, including their
members, etc, right from project start, without having to compile
every single script.

Co-authored-by: Hilderin <81109165+Hilderin@users.noreply.github.com>
2025-03-12 13:44:41 -04:00
6c4f17db1a Core: Avoid including modules_enabled in headers 2025-03-11 19:42:13 -05:00
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
466590d0ec Use get_slicec instead of get_slice for single character splitters 2025-03-08 20:36:37 +01:00
5113022dfe Clean up some uses of String::substr
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
ea8dd83075 EditorHelpBit: Fix symbol type name capitalization for text files 2025-03-06 20:46:04 +08:00
7c4f2b6588 EditorHelpBit: Workaround crash renaming named class inheriting @tool class
This only addresses the symptom, not the root cause of the problem.

In the MRP of the linked issue, the parent class seems to not be found in DocData
after renaming its child class, which seems weird. Force opening the docs of the
parent class can work it around, so we seem to have inconsistent state.

Changed the same code in EditorHelp for good measure.

Fixes #102718.
2025-02-12 15:59:57 +01:00
4d488e8cc9 Fix Escape does not work the first time when pressed at the Find(Replace)Bar 2025-02-02 18:31:12 +01:00
e813d3021b Show tooltips for res:// and uid:// strings in ScriptEditor 2025-01-14 15:29:41 +01:00
adab1518a5 Merge pull request #99451 from Mickeon/doc-help-copy-to-clipboard
Show editor toaster when copying `[codeblock]` in class reference
2025-01-12 18:07:02 +01:00
64788069a0 Fix scroll to symbol's documentation 2024-12-27 17:12:05 -03:00
d35d1fcf60 Show editor toaster when copying [codeblock] in class reference 2024-12-20 00:09:37 +01:00
80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
4e19ab8afe Fix connecting a signal with a double click is too difficult
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2024-12-14 16:18:34 +03:00
b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
b22bb4d75f Improve appearance of external links in built-in docs 2024-12-02 17:13:20 +01:00
af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
05b80ae0a1 Merge pull request #96449 from Maran23/editor-help-scroll-fix
Fix jumping to editor help does not scroll correctly sometimes
2024-11-29 22:45:51 +01:00
91bd80de51 Merge pull request #98160 from Rindbee/change-the-parent-node-of-EditorHelpBitTooltip
Add `EditorHelpBitTooltip` as a child of `p_target` to avoid jitter
2024-11-18 09:23:52 -06:00
68f638cf02 Use (r)find_char instead of (r)find for single characters 2024-11-17 10:02:18 +01:00
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
af92685445 Fix jumping to editor help does not scroll correctly sometimes 2024-10-18 18:50:21 +02:00
bc30bb4fc0 Add EditorHelpBitTooltip as a child of p_target to avoid jitter
Previously the tooltip popup was added as a child of the `p_target`'s
viewport (usually the root window), which caused the root window to
recalculate the window size, that could cause jitter issues on i3wm
if the actual width of the root window was less than `1024`.
2024-10-14 11:17:08 +08:00
dd6443193c [Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
kit
5e1c9d68aa Extract editor main screen 2024-09-09 11:06:18 -04:00
0b4ae20156 Merge pull request #78656 from Repiteo/typed-dictionary
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
9853a69144 Implement typed dictionaries 2024-09-04 10:27:26 -05:00
2dd043d1f6 Docs: Add missing deprecated/experimental tag support for theme items 2024-09-04 17:49:05 +03:00
a041772ecf Merge pull request #93940 from Mickeon/deprecate_RichTextLabel_is_ready
Add RichTextLabel `is_finished()`, deprecate `is_ready()`
2024-08-26 23:28:42 +02:00