Commit Graph

166 Commits

Author SHA1 Message Date
Max Hilbrunner
8095573f87 C# exports: Fix semicolon syntax error
Co-authored-by: Loregret <31369647+Loregret@users.noreply.github.com>
2024-11-17 11:01:41 +01:00
Hugo Locurcio
4c3020b775 Document @export_custom and additional range hints in GDScript exports
This also adds a hint suffix example to C# exports.

Co-authored-by: Shawn Hardern <126725649+ShawnHardern@users.noreply.github.com>
2024-11-11 17:22:44 +01:00
tetrapod00
2f634c7acb Improve display of rubric fake headers with heading-level option 2024-11-02 09:42:55 -07:00
Anaclecio Brederodes
e01f00f069 Correctly name enum type
Previously the example defined a "MyEnum" enum, but used a "SpellElements" type export. I've changed so it now defines a "SpellElements" enum.
2024-10-29 18:36:16 -03:00
tetrapod00
9a5507829e Fix unreachable pages in sidebar under C# Diagnostics 2024-10-27 12:46:48 -07:00
Hugo Locurcio
30eebc4bb7 Document filename requirements in C# global classes
- Flesh out the introduction.
2024-10-17 10:45:46 +02:00
RedStainedInk
c855ff7811 Removed outdated information about Mono SDK beeing necessary
Mono SDK isn't necessary any more for Godot .NET to work properly on Linux. All functionality that was needed from Mono back then is now provided by .NET proper.

I fear Mono SDK might even cause some conflict with up-to-date .NET.
2024-09-05 22:42:33 +02:00
Hugo Locurcio
4726e131db Document PackedVector4Array
This type was added in Godot 4.3.
2024-09-02 22:21:50 +02:00
Hana - Piralein
82292025d9 Update codespell path and fix spelling errors 2024-08-26 07:50:50 +02:00
Matthew
f31489be83 Merge pull request #9713 from esainane/dancestors
Fix description of typed resource exports
2024-08-20 21:42:29 -04:00
Matthew
ce997a0ec7 Merge pull request #9793 from raulsntos/dotnet/defines
C#: Remove references to `GODOT_SERVER` and `GODOT_HTML5` defines
2024-08-20 21:14:13 -04:00
Raul Santos
c138ee01eb C#: Remove references to GODOT_SERVER and GODOT_HTML5 defines
- The `GODOT_SERVER` preprocessor define is no longer available in Godot 4, since the dedicated server platform was removed.
- Replaced a reference to `GODOT_HTML5` with `GODOT_WEB` since that platform was also renamed in Godot 4.
- Remove note about `<DefineConstants>` that only really applies to Godot 3.
2024-08-20 16:53:10 +02:00
DDoop
e9035f7cf0 Add warnings for classes named "Editor" in GDscript and C# pages, class_name keyword/global class attribute (#9548)
* Added warning about Editor hiding class_names beginning with Editor prefix

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2024-08-14 19:42:36 +02:00
Sai Nane
f10b322c27 Fix description of typed resource exports
`AnimationNode`'s inherited classes are `Resource`, `RefCounted`, and `Object`.

I assume it meant to say "derived classes", or something along the lines of
"and all classes which inherit it".
2024-08-06 14:49:08 +00:00
Tristan A.
a2d29557ed CSharp example missing return type 2024-08-02 22:34:28 +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
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
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
Max Hilbrunner
70b3d3e96f Merge pull request #8989 from paulloz/dotnet/diagnostics
[C#] Update diagnostic titles
2024-02-19 12:20:28 +01:00
Paul Joannon
ead7049407 Update C# diagnostic titles
- GD0101
- GD0105
- GD0106
- GD0302
- GD0401
- GD0402
2024-02-18 16:50:43 +01: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
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
31
868d48d6c3 Clarify C# GlobalClass exported node behavior 2024-02-08 11:33:16 -08:00
Max Hilbrunner
840b629c3e Merge pull request #8894 from 31/dev/31/variant-ref
Link to C# Variant-compatible section directly
2024-02-04 22:19:32 +01:00
Max Hilbrunner
664b739aaa Merge pull request #8878 from 31/dev/31/variant-obj
c_sharp_variant.rst: add more examples, fix explicit vs. implicit
2024-02-04 22:18:35 +01:00
Matthew
f94b73a4db Merge pull request #8895 from 31/dev/31/packed-order
c_sharp_collections.rst: copy variant page's Packed{TYPE}Array order
2024-02-04 11:00:00 -05:00
31
d203e8b4e5 c_sharp_collections.rst: copy variant page's Packed{TYPE}Array order 2024-02-03 20:10:20 -08:00
31
8b94fc9501 Link to C# Variant-compatible section directly 2024-02-03 19:54:47 -08:00
31
d41f09fce6 More directly describe .Obj boxing 2024-02-03 18:59:34 -08:00
31
c2e68a8dbe Apply suggestions from code review
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-02-03 17:17:17 -08:00
31
2f94e1fd5c Changes and fixes from review 2024-02-03 01:13:47 -08:00
31
ec757a3839 Fix C# typos: capitalize method name, use public property names 2024-02-02 01:07:54 -08:00
31
4c39a88a42 c_sharp_variant.rst: add more examples, fix explicit vs. implicit 2024-02-02 00:40:24 -08:00
Max Hilbrunner
dd84a8623e Merge pull request #8859 from 31/dev/31/backing-export-behavior
c_sharp_exports.rst: add complex getter/setter note
2024-02-01 22:47:58 +01:00
Max Hilbrunner
07cb95add3 Merge pull request #8853 from 31/dev/31/clean-export-cs
c_sharp_exports.rst: fix private naming style; minor grammar
2024-01-30 10:56:03 +01:00
Max Hilbrunner
8334647b5a Merge pull request #8815 from 31/dev/31/signal-connect
Add C# signal automatic disconnection info
2024-01-30 10:49:07 +01:00
31
cfa455efaf c_sharp_exports.rst: add complex getter/setter note 2024-01-29 23:40:29 -08:00
31
b3b15a6076 c_sharp_exports.rst: more consistent public style; minor grammar 2024-01-29 23:37:50 -08:00
Matthew
0cb17c02b1 Merge pull request #8861 from 31/dev/31/export-code-comments
c_sharp_exports.rst: move code comments to text
2024-01-29 20:40:03 -05:00
Matthew
654ee26ffe Merge pull request #8860 from 31/dev/31/export-node-res-useful
c_sharp_exports.rst: clarify why exporting nodes/resources is useful
2024-01-29 19:16:41 -05:00
31
7c344c528f Simplify node/resource export in "Basic use" 2024-01-29 10:08:39 -08:00