Lexyth
58c9fdb6b5
Clarify null-safety vs type-safety
...
Changed the statement about the "as" keyword to clarify that it affects null-safety, not type-safety.
2025-03-23 10:28:47 +01:00
Lexyth
5a46a02f4b
Fix misplaced bad example
...
Moved the bad example for the inferred type for functions that return super types directly after its related statement.
2025-03-19 00:42:37 +01:00
Lexyth
7b7952ae71
Clarify type-safety of as
...
Changed the statement about the as keyword's type-safety to clarify that it is less type-safe than type hints.
2025-03-19 00:37:10 +01:00
Lexyth
49b3281d13
Update Enum names, improve enum member names, and add related suggestion
...
- Changed the grammatical number of all enum names to be singular.
- Removed the enum names from their members, (e.g.: Tile.TILE_BRICK -> Tile.BRICK).
- Added a suggestion for the reader to use singular case for enum names.
2025-03-19 00:09:04 +01:00
Thaddeus Crews
da33f97e63
Style: Integrate new #pragma once syntax
2025-03-10 09:56:48 -05:00
Matthew
ce2a1b54c9
Merge pull request #10741 from RazerTexz/patch-1
...
String.format() wrong placeholder syntax
2025-03-05 17:56:33 -05:00
reisnersteve
7bf735d38b
Update c_sharp_basics.rst (MonoDevelop has been abandoned)
...
MonoDevelop has officially been retired 4 years ago on github (https://github.com/mono/monodevelop )
2025-03-04 13:07:49 +01:00
RazerTexz
820fdbe6b7
String.format() wrong placeholder syntax
...
From: `var string = "I have {} cats.".format([3])`
To: `var string = "I have {0} cats.".format([3])`
2025-03-04 11:21:22 +05:00
Matthew
b12476f595
Merge pull request #10625 from Vocco/update-bound-signal-args
...
Update binding Signal connection args docs
2025-03-02 14:33:13 -05:00
Ashley
ba65fc75d8
Add Odin binding to community binding list
...
Signed-off-by: dresswithpockets <dresswithpockets@pm.me >
2025-02-27 17:56:35 -07:00
tetrapod
6361c66aa3
Merge pull request #10711 from raulsntos/dotnet/export-tool-diagnostics
...
C#: Document `[ExportToolButton]` diagnostics
2025-02-26 12:42:18 -08:00
Raul Santos
662a055a66
C#: Document [ExportToolButton] diagnostics
2025-02-23 04:45:06 +01:00
Matthew
59a53252ec
Merge pull request #10659 from tetrapod00/doc-not-toc
...
Update links to C# and GDScript sections
2025-02-22 08:13:44 -05:00
Hugo Locurcio
8d9085ae7c
Add guidelines on inline comments in GDScript style guide ( #9433 )
...
* Add guidelines on inline comments in GDScript style guide
2025-02-15 23:03:26 -05:00
tetrapod00
6902e58d09
Reorder Output panel message categories to match order in editor
2025-02-15 18:28:54 -08:00
Harry Keightley
126dcf1b6d
Switch ordering of *error* and *warning* in debug docs.
...
Error and Warning were incorrectly given each-other's descriptions. This change switches the sub-titles for each section.
2025-02-16 10:59:39 +09:00
Thibault J.
70def630be
Clarify the global registration of named_classes ( #10679 )
...
* Add a clarification about named class registry
2025-02-15 15:24:53 -05:00
tetrapod00
6311520290
Document limitation of Visual Profiler on macOS
2025-02-12 00:31:40 -08:00
tetrapod00
048bb2775e
Update links to C# and GDScript sections
...
- Change all links to '_doc' anchors instead of 'toc's.
- Move 'doc_c_sharp' and 'doc_gdscript' to the index pages.
- Add 'doc_gdscript_reference' anchor.
- Update all existing links to point to the right place,
updating grammar if needed.
2025-02-09 16:16:43 -08:00
Rémi Verschelde
ffac3a0408
GDExtension: Fix typo on compatibility_minimum property
2025-02-07 13:25:14 +01:00
Vojtech Krajnansky
4421c6226c
Update binding Signal connection args docs
2025-02-06 18:34:43 +01:00
Hugo Locurcio
7d34e4e42e
Clarify difference between Godot's scene instancing and hardware instancing
...
- Link to tutorial about instancing scenes by code in Creating instances
(and link the other way around too).
2025-02-05 11:23:25 +01:00
Vojtech Krajnansky
404a2bc96e
Document logical operator support in Expression
2025-02-04 15:36:49 +01:00
Max Hilbrunner
cc38a8047b
Merge pull request #10570 from Maarrk/pr-gdextension-tooling
...
Improve GDExtension tutorial based on own experience
2025-02-03 10:16:32 +01:00
tetrapod00
76da87bf07
Document [ExportToolButton]
2025-02-02 17:44:06 -08:00
Marek S. Lukasiewicz
a5db6503b7
Improve GDExtension tutorial based on own experience
...
Changed code sample to runtime class to match GDScript default.
Recorded a new animation showing the desired result inside game window.
Changed the wording around SConstruct file to make it less intimidating.
Added link to IDE setup in building from source documentation.
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com >
2025-02-01 21:32:24 +01:00
Sai Nane
98ce9b570b
Briefly document Vector<> variations
...
`Packed*Array` aliases seem universally preferred where available, so
a link to the list of types seems appropriate.
`LocalVector` is used sparingly, so mentioning the intent and rough
tradeoff involved seems right for an overview.
2025-01-29 12:20:45 +00:00
Emily
99b1f86d53
Update list of advantages and disadvantages to more accurately refle… ( #8736 )
...
* Updated list of advantages and disadvantages
2025-01-25 15:15:26 -05:00
Martin Beaussart
d18c89ba71
Update code order with static annotation on gdscript_styleguide.rst ( #8920 )
...
* Update code order with static annotation on gdscript_styleguide.rst
Update code order on gdscript_styleguide.rst
by inserting static variables and methods on the code order as a proposal
2025-01-25 12:06:20 -05:00
Billy Guzik
42ac7c8431
Update gdscript_exports.rst ( #9327 )
...
* Update gdscript_exports.rst
Added hyperlinks for each export type that lead to annotation documentation further explaining each export type, as requested in issue#9281
2025-01-25 11:32:33 -05:00
Max Hilbrunner
fb685d9f2c
Merge pull request #10514 from Synzorasize/101163_update
...
Document adding scene-unique nodes by prefixing with '%'
2025-01-22 04:35:17 +01:00
tetrapod00
8d1a93f2ff
Add links from GDScript keywords table to relevant sections
2025-01-21 15:29:51 -08:00
Synzorasize
65a77b087c
Document adding scene-unique nodes by prefixing with '%'
2025-01-21 17:11:08 -06:00
Hugo Locurcio
265397c5fc
Add @icon ordering to the GDScript style guide
2025-01-13 17:25:42 +01:00
Amaral Krichman
65da706a85
Update gdscript_basics.rst
2025-01-03 00:19:39 -03:00
Max Hilbrunner
4b4e8518a7
Merge pull request #10370 from tetrapod00/standardize-header-the-rest
...
Standardize RST header syntax
2025-01-02 12:17:38 +01:00
31
3dd3580a5b
Groups: Nodes panel doesn't allow node multiselect
2024-12-29 15:48:21 -08:00
tetrapod00
c4d3aa134a
Standardize RST header syntax
2024-12-29 13:44:09 -08:00
lena
63cec69b30
Add a paragraph about self ( #8928 )
...
Adds a paragraph about the self keyword and documents that
it can be used to refer to variables defined in subclasses of
current class.
---------
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Co-authored-by: RedMser <5117197+RedMser@users.noreply.github.com >
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru >
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com >
2024-12-26 15:30:42 -08:00
Danil Alexeev
d610bfdf23
GDScript: Document @warning_ignore_start and @warning_ignore_restore
2024-12-23 23:58:46 +03:00
Raul Santos
cea78730d0
[.NET] Use collection expressions
...
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 03:38:42 +01:00
Max Hilbrunner
6d5fd9acc8
Merge pull request #10427 from raulsntos/dotnet/changes-in-4.4
...
C#: Update platform support for 4.4 and new minimum required TFM
2024-12-20 18:48:07 +01:00
Raul Santos
62b342bba9
C#: Update platform support for 4.4 and new minimum required TFM
...
- Remove Android restrictions that no longer apply in 4.4.
- Add links in the C# documentation about general upstream system requirements that also apply to C# projects.
- Godot projects now target `net8.0`, so there's no need to mention TFM requirements in platform support. And we can update every mention of .NET 6 with .NET 8 and C# 10 with C# 12.
2024-12-19 20:52:27 +01:00
fearwalia
d5b8afb77b
Clarify creating a global in Singletons (Autoload) ( #10416 )
...
The code below to be added to scene 1 and 2 didn't say how to define the global variable, and neither did this, so I fixed it
---------
Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com >
2024-12-17 18:12:11 -08:00
Max Hilbrunner
47d39d9048
Merge pull request #10413 from tetrapod00/be-nice-to-c
...
Rephrase dictionary description in Advanced GDScript
2024-12-16 19:11:59 +01:00
tetrapod00
fdfa3ea66e
Rephrase dictionary description in Advanced GDScript
2024-12-15 13:58:40 -08:00
Max Hilbrunner
273f9a7f2f
Merge pull request #10403 from dsnopek/redo-vnen-8751
...
Add example of GDExtension written pure C
2024-12-15 17:37:40 +01:00
Max Hilbrunner
8c18786cc1
Merge pull request #10409 from tetrapod00/no-simply
...
Simply remove some words
2024-12-15 17:31:18 +01:00
George Marques
874b2792a6
Add example of GDExtension written pure C
2024-12-15 10:06:26 -06:00
tetrapod00
bd25f5813a
Simply remove some words
2024-12-14 20:36:17 -08:00