ebc36a7225
Merge pull request #107717 from aaronfranke/abstract-annotation
...
GDScript: Replace `abstract` keyword with `@abstract` annotation
2025-06-27 17:12:56 +02:00
7ea1b3aabb
Merge pull request #105801 from dalexeev/gds-update-stack-funcs
...
GDScript: Update `get_stack()`, `print_stack()`, and `print_debug()`
2025-06-24 09:58:47 -05:00
1085200f51
GDScript: Replace abstract keyword with @abstract annotation
...
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
2025-06-23 12:24:45 -07:00
2253c0f470
Add a note about Object._init and required parameters in relation to @rpc
2025-06-21 11:05:24 +02:00
22702244f8
Merge pull request #105414 from KoBeWi/disable_uid_here
...
Add `@export_file_path` to export raw paths (no UID)
2025-06-13 01:30:24 +02:00
f864d0ce11
GDScript: Re-add ord() function
2025-06-11 21:01:13 +03:00
13f642d959
Replace XML codeblock spaces with tabs
2025-06-06 14:35:38 +02:00
42249bb659
Add @export_file_path to export raw paths (no UID)
2025-05-22 13:25:17 +02:00
2bacfc8b59
GDScript: Update get_stack(), print_stack(), and print_debug()
2025-04-26 21:10:41 +03:00
a0b796218a
Improve documentation on is_nan() and NAN constant
2025-04-11 20:25:16 +02:00
7603945d14
Fix *even* more miscellaneous oddities around the class reference
2025-04-07 17:37:08 +02:00
07f8935c69
GDScript: Deprecate inst_to_dict() and dict_to_inst() functions
2025-01-03 21:17:06 +03:00
4e48b19e1f
Add Color.from_rgba8 and deprecate Color8
2024-12-27 11:26:59 +01:00
4866c4a8c5
Merge pull request #99925 from Mickeon/documentation-no-static-typing-yet
...
Remove uses of static typing from the documentation
2024-12-17 16:19:08 +01:00
7d65d0a908
GDScript: Add @warning_ignore_start and @warning_ignore_restore annotations
2024-12-06 15:37:02 +03:00
109fcbb43a
Remove uses of static typing from the documentation
2024-12-02 15:56:46 +01:00
2c31bd767c
Merge pull request #99020 from Mickeon/documentation-example-pruning-2
...
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
4d3e2c78b6
Document exporting nested subgroups
2024-11-11 17:24:37 +03:00
932b1c434c
Clean up more [b]Example:[/b] lines from the class reference
2024-11-11 12:05:34 +01:00
4dc568856a
GDScript: Rework GDScriptUtilityFunctions macros
2024-10-25 17:46:38 +03:00
360b84bad5
Clarification to the description of Global scope in regards to GDScript
...
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.
In general there are small changes to the wording which makes it more clear and concise.
Wording change
Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"
Changed language from "not specific to" to "which work in any language"
After consulting multiple people the new wording seems easier to parse, even for non coders
Update doc/classes/@GlobalScope.xml
Update modules/gdscript/doc_classes/@GDScript.xml
Update modules/gdscript/doc_classes/@GDScript.xml
Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com >
2024-10-23 02:10:03 -04:00
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
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
f45421204c
Merge pull request #95764 from passivestar/gdscript-syntax-highlighter
...
Expose GDScript syntax highlighter to editor plugins
2024-08-20 10:02:35 +02:00
3fe644de86
Expose GDScript syntax highlighter to editor plugins
2024-08-19 16:36:55 +04:00
4ce5856384
Remove empty [b]Example:[/b] lines from the class reference
2024-08-19 01:00:52 +02:00
e80c44dbe7
Fix some invalid code in GDScript class reference
2024-08-19 00:55:51 +02:00
24b6edcd38
GDScript: Fix non-global class export
2024-06-20 14:30:12 +03:00
76b2d85c9f
GDScript: Fix some export annotation issues
2024-05-13 17:49:06 +03:00
2508c2e309
[Doc] Document loading behavior with relative paths
2024-03-30 13:33:49 +01:00
0c48845247
Update @GDScript documentation
2024-03-14 17:51:41 +03:00
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +03:00
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
882441a0ad
Support Array and PackedArray in @export_*
2024-03-06 16:17:54 +09:00
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
f781571d07
Add keywords to improve search in the class reference
2024-02-22 16:16:49 +01:00
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
af28f87791
Documentation: Add support for deprecated/experimental messages
2024-02-15 15:59:50 +03:00
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
c7f68a27ec
Add UID support to GDScript files
2024-01-17 22:30:56 +01:00
045d921044
[GDScript] Add StringName support to @GDScript.len
2024-01-02 14:28:34 +01:00
3a3a2011f4
GDScript: Add @export_storage annotation
2023-12-19 20:56:30 +03:00
a1aa1a468f
Clarify some descriptions regarding resource cache
2023-12-10 20:30:01 +01:00
9e2273abc7
GDScript: Add error when exporting node in non [Node]-derived classes
2023-10-05 13:50:26 +03:00
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
e45927b2f2
Replace radians range hint with radians_as_degrees
2023-09-25 08:50:19 +02:00
6f7eccc758
Add a type conversion method to Variant Utility and expose to scripting
2023-09-08 10:12:48 -05:00
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
f37d192860
Merge pull request #80109 from timothyqiu/not-markdown
...
Fix invalid use of markdown syntax in classref
2023-08-01 20:04:00 +02:00
c4b5161ed1
Fix invalid use of markdown syntax in classref
...
Also:
* changed `[b]true[/b]` to `[code]true[/code]`
* use `[i]` for mathematical constant "e"
* use `[b]` for button text & menu item text
* improve markups about "tap1" and "tap2" in AudioEffectDelay
2023-08-01 22:44:31 +08:00