-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
GDScript: Update annotation description and development guidelines #11070
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -449,9 +449,9 @@ GDScript also supports :ref:`format strings <doc_gdscript_printf>`. | |
Annotations | ||
----------- | ||
|
||
Annotations are special tokens in GDScript that act as modifiers to a script or | ||
its code and may affect how the script is treated by the Godot engine or | ||
editor. | ||
Annotations are special tokens in GDScript that act as modifiers to an entire script, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I recognize it's rather nitpicky, but I feel like it might be better to move "an entire script" to the last item in this list, since it encompasses the most. I can't think of a formal rule in English that specifies this, but my intuition just says that including the largest option first causes the later ones to be a bit more confusing. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand what you meant, but I went from up to down. If we invert the direction, |
||
a declaration, a statement, or a location in the source code. Annotations may affect | ||
how the script is treated by the Godot editor and the GDScript compiler. | ||
|
||
Every annotation starts with the ``@`` character and is specified by a name. A | ||
detailed description and example for each annotation can be found inside the | ||
|
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.