Commit Graph

145 Commits

Author SHA1 Message Date
Danil Alexeev 85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
Rémi Verschelde 4a798ad85d Merge pull request #95749 from Mickeon/documentation-example-pruning
Remove empty `[b]Example:[/b]` lines from the class reference
2024-08-26 23:29:00 +02:00
Micky 4ce5856384 Remove empty [b]Example:[/b] lines from the class reference 2024-08-19 01:00:52 +02:00
Micky e80c44dbe7 Fix some invalid code in GDScript class reference 2024-08-19 00:55:51 +02:00
Danil Alexeev 24b6edcd38 GDScript: Fix non-global class export 2024-06-20 14:30:12 +03:00
Danil Alexeev 76b2d85c9f GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
A Thousand Ships 2508c2e309 [Doc] Document loading behavior with relative paths 2024-03-30 13:33:49 +01:00
Danil Alexeev 0c48845247 Update @GDScript documentation 2024-03-14 17:51:41 +03:00
Danil Alexeev 87718d2a6e Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03:00
George Marques 8e520454ef GDScript: Add @export_custom annotation
Allows setting any arbitrary hint, hint string, and usage flags.
Useful for more complex hints or potential future hints not
available as a dedicated annotation.
2024-03-07 10:55:21 -03:00
Abel Toy 882441a0ad Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00
Rémi Verschelde 21ee3716c2 Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation
GDScript: Add `@export_storage` annotation
2024-02-27 21:22:49 +01:00
Hugo Locurcio f781571d07 Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01:00
Hugo Locurcio 6ae54fd787 Move EditorNode setting registration so they are in class reference
Co-authored-by: Micky <micheledevita2@gmail.com>
2024-02-17 11:33:22 +01:00
Danil Alexeev af28f87791 Documentation: Add support for deprecated/experimental messages 2024-02-15 15:59:50 +03:00
Rémi Verschelde 745f8e112f Revert "Add UID support to GDScript files"
This reverts commit c7f68a27ec.

We still think GDScript files need UIDs to allow safe refactoring,
but we're still debating what form those should take exactly.

So far there seems to be agreement that it shouldn't be done via an
annotation as implemented here, so we're reverting this one for now,
to revisit the feature in a future PR.
2024-01-29 21:00:26 +01:00
kobewi c7f68a27ec Add UID support to GDScript files 2024-01-17 22:30:56 +01:00
A Thousand Ships 045d921044 [GDScript] Add StringName support to @GDScript.len 2024-01-02 14:28:34 +01:00
Danil Alexeev 3a3a2011f4 GDScript: Add @export_storage annotation 2023-12-19 20:56:30 +03:00
kobewi a1aa1a468f Clarify some descriptions regarding resource cache 2023-12-10 20:30:01 +01:00
Danil Alexeev 9e2273abc7 GDScript: Add error when exporting node in non [Node]-derived classes 2023-10-05 13:50:26 +03:00
Yuri Sizov cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
A Thousand Ships e45927b2f2 Replace radians range hint with radians_as_degrees 2023-09-25 08:50:19 +02:00
Aaron Franke 6f7eccc758 Add a type conversion method to Variant Utility and expose to scripting 2023-09-08 10:12:48 -05:00
Yuri Sizov 2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00