Commit Graph

592 Commits

Author SHA1 Message Date
Hugo Locurcio
71cdbdd055 Tweak guidelines on dictionary and enum formatting in GDScript style guide
- Recommend writing each enum item on its own line, similar to C++.
- Recommend using spaces around inline dictionary declarations
  to make them easier to distinguish from arrays (due to similar-looking
  `[]` and `{}` characters in most fonts). This is commonly found
  in Python or JavaScript style guides.
2024-05-29 17:52:29 +02:00
Kitzu
d884e3ef07 Correction on usage of Dictionaries in C# as it should be 'Godot.Collections.Dictionary<>' 2024-05-28 21:20:26 +02:00
Matthew
7e67f8ca32 Merge pull request #8834 from Abdullah-Ajeebi/patch-1
Update c_sharp_signals.rst
2024-05-13 21:15:25 -04:00
Max Hilbrunner
4e216fc5fc Merge pull request #9313 from dalexeev/update-doc-markup-docs
Update class reference and doc comment markup documentation
2024-05-07 11:27:26 +02:00
Yuri Rubinsky
3e05334189 Add a super keyword to the table of keywords 2024-05-02 18:35:10 +03:00
Danil Alexeev
c89b0e6ab3 Update class reference and doc comment markup documentation 2024-05-02 13:14:02 +03:00
skyace65
f941feee55 Add info on script template folders 2024-05-01 22:02:41 -04:00
Max Hilbrunner
160034a4ac Merge pull request #9188 from allenwp/annotation-improvements
Improve description of annotations
2024-04-30 04:19:10 +02:00
Matthew
7446c0dd77 Merge pull request #9284 from NormPlum/patch-2
Update gdscript_basics.rst
2024-04-29 22:18:06 -04:00
j4d3blooded
47427a526c Update Resources tutorial to mention and use the GlobalClass annotation for C# (#9278)
* Updated Resources tutorial to mention and use the GlobalClass annotation for C#

The previous version of this page didn't mention using the `[GlobalClass]` annotation. Following this tutorial results in the user not finding their resource in the Create a new resource menu without any understanding as to why

---------

Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-30 04:16:52 +02:00
Allen Pestaluky
8dd09aa962 Improved description of annotations
Removes an unnecessary and potentially confusing comparison of annotations to keywords and generally improves wording in the GDScript Basics tutorial. A new page to the Contributing section has been added for scripting development guidelines. This new page hosts suggestions on when annotations should be implemented in GDScript.
2024-04-29 13:18:30 -04:00
NormPlum
94b33fc106 Update gdscript_basics.rst
Fix grammar re. 'await/awaiting'.
2024-04-27 03:13:09 +00:00
Max Hilbrunner
eb9931594e Merge pull request #9271 from TheJP/patch-1
Fixed out of date binding syntax for `Signal.connect`
2024-04-23 21:08:53 +02:00
Benjiko99
47d13ae2a2 Fix typo in docs 2024-04-23 16:03:15 +02:00
JP
4ae3064699 Fixed out of date binding syntax for Signal.connect
fixes godotengine/godot-docs#9236
2024-04-23 13:33:09 +02:00
A Thousand Ships
29a8e104ec Merge pull request #9266 from markdibarry/default_details
Add links for overriding default export value in C#
2024-04-22 18:22:36 +02:00
Patrick Exner
1c49683ee8 Replace ClassDB calls with available macros in GDExtension docs 2024-04-22 11:33:54 +02:00
markdibarry
7aa096ec41 Add links for overriding default 2024-04-19 20:48:52 -04:00
Greg Cobb
25b8b8f20f Add more information about VS and VS Code debugging (#9222)
* Added more information about VS and VS Code debugging

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-15 13:57:27 +02:00
Danil Alexeev
60befd7527 GDScript: Clarify raw string literals documentation 2024-04-09 16:25:03 +03:00
lena
2925c83390 docs: Clarify associativity of operators. (#9170)
* docs: Clarify associativity of operators.
2024-04-06 19:28:25 +02:00
Chad Stewart
47d13403e3 Fix outdated _CLASS_ script template description.
_CLASS_ works in gdscript as well, so remove the `(C# only)` note.
2024-04-02 23:55:27 -04:00
Max Hilbrunner
d195c9d046 Merge pull request #9155 from AThousandShips/article_fix
Fix incorrect uses of a/an
2024-03-31 23:03:53 +02:00
Max Hilbrunner
2227328e5b Merge pull request #9164 from paulloz/dotnet/space-in-single-line-initializers
Update C# style guide (spaces in single line initializers)
2024-03-31 23:02:53 +02:00
Paul Joannon
18dc933807 Update c_sharp_style_guide.rst 2024-03-30 18:27:05 +01:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
Hugo Locurcio
8673215b5c Update C# version recommendation in C# style guide
.NET 6.0 supports C# 10.0.
2024-03-25 18:51:26 +01:00
Abel Toy
bd7bc61e9e Document new feature allowing @exported Arrays to set property hints for their elements (#9061)
* Document export variations for arrays

* Update tutorials/scripting/gdscript/gdscript_exports.rst

Co-authored-by: Raul Santos <raulsntos@gmail.com>

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-03-25 17:34:38 +01:00
Max Hilbrunner
9840c458db Merge pull request #9124 from chrisl8/update_debugging_tools_for_4.3
Update Overview of Debugging Tools for 4.3.
2024-03-25 14:32:50 +01:00
Christen Lofland
e939756910 Update Overview of Debugging Tools for 4.3. 2024-03-21 14:50:45 -05:00
444B
3d441150b1 Update gdscript_styleguide.rst - clarified sentence and grammar (#9110)
* Update gdscript_styleguide.rst - clarified sentence and grammar

- Clarified the statement on "One statement per line"
- Removed unclear sentence with incorrect grammar

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-03-21 11:49:25 +01:00
Max Hilbrunner
fce8f25905 Merge pull request #9027 from TylerPelaez/patch-1
Replace Reference usage with RefCounted in Resources Tutorial
2024-03-08 23:59:58 +01:00
skyace65
3ab602b742 Remove confusing sentence for changing scenes 2024-03-04 20:50:25 -05:00
skyace65
36e3368771 Remove incorrect information on script templates 2024-03-02 12:47:36 -05:00
Danil Alexeev
88ec4c294b GDScript: Document @export_storage annotation 2024-03-01 22:28:32 +03:00
Tyler Pelaez
ce308e7ca8 Replace Reference usage with RefCounted 2024-02-28 14:09:06 -05:00
Max Hilbrunner
70b3d3e96f Merge pull request #8989 from paulloz/dotnet/diagnostics
[C#] Update diagnostic titles
2024-02-19 12:20:28 +01:00
Max Hilbrunner
1d1f7967ba Merge pull request #8973 from raulsntos/dotnet/GD0003
C#: Add documentation for diagnostic GD0003
2024-02-19 12:18:45 +01:00
Paul Joannon
ead7049407 Update C# diagnostic titles
- GD0101
- GD0105
- GD0106
- GD0302
- GD0401
- GD0402
2024-02-18 16:50:43 +01:00
Danil Alexeev
200c91b679 GDScript: Update deprecated/experimental docs 2024-02-16 12:00:18 +03:00
Raul Santos
9051c5225e C#: Add documentation for diagnostic GD0003 2024-02-15 19:44:49 +01:00
Matthew
ec3e094bf9 Merge pull request #8923 from 31/dev/31/cs-global
Clarify C# GlobalClass exported node behavior
2024-02-14 20:09:56 -05:00
Matthew
050f8f456e Merge pull request #8940 from 31/dev/31/cs-pascal
Clarify and add to C# API general differences
2024-02-14 20:05:21 -05:00
Abdullah-Ajeebi
d2b1a2eca6 Update c_sharp_signals.rst 2024-02-14 20:10:18 +01:00
Matthew
bbd09577ba Merge pull request #8941 from 31/dev/31/cs-path-note
c_sharp_differences.rst: clarify System.IO.Path note
2024-02-12 18:56:56 -05:00
31
131f30e83e Clarify and add to C# API general differences 2024-02-12 14:13:31 -08:00
31
69e1d87816 c_sharp_differences.rst: clarify System.IO.Path note 2024-02-10 02:02:29 -08:00
A Thousand Ships
72a61e83f5 Merge pull request #8935 from skyace65/DebugGodot3
Remove Godot 3 reference from profiler page
2024-02-09 21:06:40 +01:00
skyace65
328da800dd Remove Godot 3 reference from profiler page 2024-02-08 22:24:31 -05:00
31
868d48d6c3 Clarify C# GlobalClass exported node behavior 2024-02-08 11:33:16 -08:00