Commit Graph

383 Commits

Author SHA1 Message Date
Danil Alexeev 794099217e
Editor: Fix `EditorHelpBit` title height is wrong on initialization 2024-06-12 11:08:28 +03:00
A Thousand Ships cade5b88d9
Use `CoreStringNames::normal` in more places 2024-05-30 22:57:54 +02:00
Rémi Verschelde 21810cad38
Merge pull request #92457 from YeldhamDev/extreme_corner_case_but_still
Set `doc_name` even when categories are hidden in the inspector
2024-05-29 11:19:57 +02:00
Rémi Verschelde 4d255a1b50
Merge pull request #92454 from jsjtxietian/multi-connect
Prevent connect `scroll_to_paragraph` multiple times to `class_desc`
2024-05-29 11:19:54 +02:00
jsjtxietian b33811d46b Prevent connect `scroll_to_paragraph` multiple times to `class_desc` 2024-05-29 12:58:08 +08:00
Michael Alexsander 1bfcb6ee65
Set `doc_name` even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
A Thousand Ships 4ed62665a2
Replace `.bind(...).call_deferred()` with `.call_deferred(...)` 2024-05-27 13:29:57 +02:00
Rémi Verschelde 6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
A Thousand Ships ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde 3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Danil Alexeev 5a5b18c2fc
Editor: Fix categories and tooltips in `TileSet` editor 2024-05-14 10:23:14 +03:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
Danil Alexeev 76b2d85c9f
GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
Danil Alexeev 18fca3c294
Editor: Fix `EditorHelpBitTooltip` + `ProgressDialog` causes crash 2024-05-08 17:39:33 +03:00
K. S. Ernest (iFire) Lee f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
Danil Alexeev a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03:00
Rémi Verschelde 9b0b7afe28
Merge pull request #90035 from KoBeWi/SUPER_CALL_DEFERRED
Fix scroll to description
2024-04-14 14:39:07 +02:00
Rémi Verschelde b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00
Danil Alexeev fc6c1d6363
Editor: Fix enum detection for unnamed classes 2024-04-10 16:10:55 +03:00
Rémi Verschelde 22299f83f1
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
Editor: Fix text color in `EditorHelpHighlighter`
2024-04-10 14:21:51 +02:00
A Thousand Ships 23782b898b
Add further details on properties returning `Packed*Array` 2024-04-08 11:35:27 +02:00
kobewi 5a8066bd50 Fix scroll to description 2024-03-31 14:30:33 +02:00
Danil Alexeev eab05558c4
Fix regression with C# build editor crash due to `EditorHelpHighlighter` 2024-03-24 21:26:18 +03:00
Danil Alexeev e6dafb1020
Editor: Fix text color in `EditorHelpHighlighter` 2024-03-20 09:40:45 +03:00
Rémi Verschelde 7d6ae138fa
Merge pull request #89332 from Riteo/werror-never-changes
Fix compiler warning when highlighting codeblocks in editor help
2024-03-09 22:20:19 +01:00
Riteo 4f61d42a00 Fix compiler warning when highlighting codeblocks in editor help
It's more verbose but it should do the trick.
2024-03-09 22:00:35 +01:00
Micky 3a0d056180 Use META_UNDERLINE_ON_HOVER in built-in class reference 2024-03-09 13:22:59 +01:00
Danil Alexeev 87718d2a6e
Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03:00
Rémi Verschelde 0fefbe85fb
Merge pull request #89086 from Mickeon/documentation-ProjectSettings-members-display-nice
Improve how Project & Editor Settings look in built-in docs
2024-03-07 15:23:54 +01:00
Micky f739f78871 Add copy codeblock button to built-in documentation 2024-03-04 20:07:46 +01:00
Micky 8e1024530c Improve how Project & Editor Settings look in built-in docs 2024-03-04 18:12:28 +01:00
Micky 9d3768d2d7 Replace built-in docs codeblock's leading spaces with tabs
Replace built-in docs codeblock's leading spaces with tabs
2024-02-29 17:18:41 +01:00
Yuri Rubinsky f7c3c9f987 Remove redundant space after enum/flags word in editor docs 2024-02-27 17:09:55 +03:00
kobewi a031911c82 Use check_changed_settings_in_group() everywhere 2024-02-19 21:34:45 +01:00
Danil Alexeev 12c86c6716
Documentation: Treat deprecated/experimental members as documented 2024-02-16 17:15:33 +03:00
Danil Alexeev af28f87791
Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
Rémi Verschelde 391a8e5327
Merge pull request #85868 from KoBeWi/knowyourtiles
Add descriptions for tile properties
2024-02-13 11:24:42 +01:00
Micky fbc584d4f2 Add color in built-in documentation for overridden properties 2024-02-11 17:30:54 +01:00
Rémi Verschelde b1d135ccb9
Merge pull request #84396 from quirkylemon/hide-private-enums
Hide private enums from documentation
2024-02-09 12:13:34 +01:00
QuirkyLemon a5a8f0a881 Hide private enums from documentation 2024-02-08 08:10:43 -06:00
Rémi Verschelde fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +01:00
Rémi Verschelde 061c776228
Merge pull request #87381 from YuriSizov/core-sneaky-properties
Better hide internal properties from users
2024-01-29 13:16:55 +01:00
Yuri Sizov d644b9b640 Better hide internal properties from users 2024-01-29 12:35:10 +01:00
A Thousand Ships 15369fdb1d
Remove unnecessary `this->` expressions 2024-01-29 09:59:18 +01:00
Riteo f468e59efd GDExtension: add an interface for loading extra documentation
Adds two new GDExtension interface methods:
 - `editor_help_load_xml_from_utf8_chars`
 - `editor_help_load_xml_from_utf8_chars_and_len`

Both of these methods parse the XML passed into an extra documentation
container which, when needed, is merged into the main doc container.

Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2024-01-26 13:53:33 +01:00
A Thousand Ships dc86483e3a
Add inheriting classes to `DocTools` 2024-01-16 14:42:36 +01:00
Yuri Sizov 95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi 0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
Wilson E. Alvarez a3cb1b096f
Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00