104 Commits

Author SHA1 Message Date
CJ Brown
3f17911d77 Remove Note from Constants
PR #71051
Documentation not updated to reflect deep read-only change to const Array and const Dictionary

(cherry picked from commit 7b91dffc22)
2024-07-24 21:05:41 +02:00
NormPlum
ae38bfc90c Update gdscript_basics.rst
Fix grammar re. 'await/awaiting'.

(cherry picked from commit 94b33fc106)
2024-07-24 21:01:05 +02:00
JP
66507f7267 Fixed out of date binding syntax for Signal.connect
fixes godotengine/godot-docs#9236

(cherry picked from commit 4ae3064699)
2024-07-24 20:59:22 +02:00
Danil Alexeev
f810e958d5 GDScript: Clarify raw string literals documentation
(cherry picked from commit 60befd7527)
2024-07-24 20:56:56 +02:00
lena
b8e65373cd docs: Clarify associativity of operators. (#9170)
* docs: Clarify associativity of operators.

(cherry picked from commit 2925c83390)
2024-07-24 20:55:51 +02:00
Max Hilbrunner
ae127b0802 Merge pull request #7507 from dalexeev/gds-var-init-order
GDScript: Document variable initialization order
2024-01-25 10:25:39 +01:00
Max Hilbrunner
525328c0c3 Merge pull request #8748 from Calinou/doc-importing-images-svg-text
Document importing SVG images with text
2024-01-25 10:11:05 +01:00
Max Hilbrunner
42035c7796 Merge pull request #8730 from Marenz/patch-1
Lambdas need an explicit `return`
2024-01-25 10:10:18 +01:00
Max Hilbrunner
1b5a1a2f59 Merge pull request #8615 from TheYellowArchitect/patch-13
Slight polish at enum example
2024-01-25 09:53:54 +01:00
TheYellowArchitect
ee4eae3208 Added enum iteration example 2024-01-25 09:38:49 +01:00
Max Hilbrunner
31063027c8 Merge pull request #7579 from dalexeev/gds-setter-getter-doc
GDScript: Clarify setter/getter documentation
2023-11-11 02:26:01 +01:00
Byemoh
46c743ae37 Update gdscript_basics.rst 2023-11-08 18:44:05 -06:00
Hugo Locurcio
54331c3c8f Document support for code folding regions in GDScript reference 2023-11-06 22:49:28 +01:00
Danil Alexeev
e1911e7355 Fix list of default comment marker keywords 2023-11-02 11:47:52 +03:00
Hugo Locurcio
0756294d3b Document comment keywords being highlighted in the script editor 2023-11-01 15:07:14 +01:00
Benedikt Ziemons
1beedb8ae8 Update GDScript reference, 'in'-keyword explanation
The explanation for the keyword 'in' states it checks, whether an element is in a list (among others). This is the only occurrence of the word 'list' in this context and I assume it actually means array. To avoid future confusion, it makes sense to replace the word list with array in this explanation.
2023-10-19 10:22:37 +02:00
nicolas-scarrci
c1a9c4dc73 Clarify class keyword usage (#7741)
* Clarify class keyword usage

* Added reference link for class_name as well

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-06 13:04:08 +02:00
Max Hilbrunner
17f0da6a53 Merge pull request #8130 from dalexeev/gds-update-static-typing
Update "Static typing in GDScript" page
2023-10-06 12:44:47 +02:00
Danil Alexeev
9eb7aa3f59 Update "Static typing in GDScript" page 2023-10-06 12:49:26 +03:00
Danil Alexeev
6ad7f78001 GDScript: Update match patterns and literal docs 2023-10-05 19:18:05 +03:00
Danil Alexeev
da3f1a1275 GDScript: Document match pattern guards 2023-09-29 14:28:44 +03:00
Danil Alexeev
09d9d9a895 GDScript: Document raw string literals 2023-09-21 00:04:38 +03:00
Danil Alexeev
34a620e2c2 GDScript: Mention Array.assign() method in typed arrays documentation 2023-08-16 11:30:39 +03:00
Max Hilbrunner
df7068bf03 Merge pull request #7603 from dalexeev/gds-arrays 2023-07-18 17:06:50 +02:00
Max Hilbrunner
5dc2506ed8 Merge pull request #7591 from dalexeev/gds-warn-override-non-virtual 2023-07-18 13:41:05 +02:00
Ninni Pipping
1a1500cebe Fix outdated use of File in gdscript_basics 2023-07-17 16:22:30 +02:00
Danil Alexeev
9fb9915ad9 GDScript: Document static variables 2023-07-03 14:58:23 +03:00
Danil Alexeev
1be213cbe8 GDScript: Update array documentation
* Add info about typed arrays.
* Fix the error that packed arrays are passed by value.
2023-07-03 14:40:09 +03:00
Danil Alexeev
055ec902ce GDScript: Add warning about overriding non-virtual native methods 2023-07-01 21:26:48 +03:00
Danil Alexeev
98f5970a6f GDScript: Clarify setter/getter documentation 2023-06-30 21:28:02 +03:00
Danil Alexeev
15f32c5407 GDScript: Add mention that @onready @export doesn't work as expected 2023-05-27 15:25:50 +03:00
Hana - Piralein
f337bb0f82 improve description of enums 2023-05-19 18:19:33 +02:00
Max Hilbrunner
72c0af46b2 Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
2023-05-18 12:46:58 +02:00
Danil Alexeev
4aff3ddc8a Update "GDScript reference" (operators and match) (#7323)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 10:57:40 +02:00
Felipe Augusto Marques
c4db831703 More precise documentation about property underlying access (#7362)
Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-05-18 09:36:54 +02:00
Danil Alexeev
1575f5f714 Mention that annotations in GDScript support constant expressions 2023-05-12 16:38:20 +03:00
Max Hilbrunner
5e04f6550c Merge pull request #6565 from piyushmulatkar/patch-1 2023-05-04 14:03:31 +02:00
Hugo Locurcio
698c40e72a Document how to add breakpoints in the editor and using breakpoint
Until now, there was little documentation on how to create breakpoints
(including persistent ones with the `breakpoint` keyword). This may
not be obvious to those who haven't used other IDEs before.

This also documents' breakpoints persistent behavior since the editor
state is saved.
2023-05-03 20:26:46 +02:00
Klaymore
627fd49e90 Remove unneeded repetition in gdscript_basics.rst 2023-04-29 21:54:17 -07:00
mtttz
562dfdcbcc Document support for escaped UTF-16 and UTF-32 Unicode characters
Fixes #5607
2023-03-30 06:29:48 +02:00
Max
07175e60a0 Added info about range with negative step
Added info about range with a negative step, because I have a lot of questions "how can I get a reversed range in GDScript?" in my local community.
2023-03-17 18:08:51 -05:00
George Marques
4d86f91ff7 Add note in GDScript reference about inference with Variant (#6934) 2023-03-13 17:41:07 +01:00
pcamp
264df54c2a Fix typo in gdscript_basics
"change" -> "changes"
2023-03-13 01:05:08 -05:00
Ulugbeg
6dd9e26420 Added missing ^= from list of assignment
In the list of the (lowest priority) Assignment Operators, `^-` was not listed, but it does exist & work.
2023-02-28 21:41:39 +01:00
Thiago Lages de Alencar
8a112dcef2 Add bang operator to operators table (#6558)
* Add bang operator to operators table

* Add symbolic aliases for `and` & `or`

* Remove comma from operators table

* Add bang to the aliases list

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-02-27 07:37:17 +01:00
Cyril K.B
3a11c30915 Fix code block formatting in gdscript_bascis.rst 2023-02-18 10:14:00 +01:00
Hugo Locurcio
0c9ac1fc42 Document Unicode identifiers now being supported in GDScript reference 2023-02-08 19:06:55 +01:00
Mach565
d089a504e9 Continue no longer works in a match statement (#6674) 2023-01-28 23:33:30 +03:00
mara
2b271ba33e tutorials/scripting: Mention % literal syntax
It was unclear to me what that '%' literal syntax does, add
examples in the appropriate places.
2023-01-25 20:16:48 +01:00
Max Hilbrunner
7b21d5c293 GDScript basics: expand upon continue explanation (#6650)
Co-authored-by: DavidVereb <davidvereb@users.noreply.github.com>
2023-01-22 17:19:56 +01:00