166 Commits

Author SHA1 Message Date
RB35
68eb940c28 Update C# Rider install steps for now built-in plugin "Godot Support" (#10323)
* Plugin now bundled with rider so can't be installed

As of Rider 2024.2 the plugin is bundled with the software and can't be installed which can be confusing.
https://plugins.jetbrains.com/plugin/13882-godot-support

---------

Co-authored-by: tetrapod <145553014+tetrapod00@users.noreply.github.com>
2024-11-30 07:54:09 +01:00
tetrapod00
3eb1469ed0 Add FAQ entry "Which programming language is fastest?"
Compares the performance of C#, GDScript, and C++.

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-Authored-By: Andre Sacilotto <66838864+andresacilotto@users.noreply.github.com>
2024-11-30 07:50:30 +01:00
tetrapod00
4f1c98685d Remove performance comparison from C# Basics 2024-11-30 07:49:54 +01:00
Max Hilbrunner
b2b3ea580a C# exports: Fix semicolon syntax error
Co-authored-by: Loregret <31369647+Loregret@users.noreply.github.com>
2024-11-30 07:17:35 +01:00
Hugo Locurcio
d9f223aa14 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-30 07:15:17 +01:00
tetrapod00
b71ff5c73d Improve display of rubric fake headers with heading-level option 2024-11-30 07:07:47 +01:00
Anaclecio Brederodes
92aa6f195e 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-11-30 07:05:19 +01:00
tetrapod00
253baa6c64 Fix unreachable pages in sidebar under C# Diagnostics 2024-11-30 07:02:47 +01:00
Hugo Locurcio
6c43491cc5 Document filename requirements in C# global classes
- Flesh out the introduction.
2024-11-30 06:57:54 +01:00
Hugo Locurcio
5f13e67349 Document PackedVector4Array
This type was added in Godot 4.3.
2024-10-04 03:51:42 +02:00
RedStainedInk
dfdb5bcd2c 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-10-04 03:46:28 +02:00
Hana - Piralein
0f3fabbb5a Update codespell path and fix spelling errors 2024-10-04 03:44:22 +02:00
Raul Santos
47327606b0 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-10-04 03:40:36 +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
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