Matthew
7bc1c2b15e
Merge pull request #10846 from raulsntos/dotnet/bits-defines
...
C#: Remove outdated bits defines
2025-04-08 17:36:19 -04:00
Raul Santos
1d103b1a23
C#: Remove outdated bits defines
...
These defines were removed in 4.0 but we missed them when we previously updated this documentation page.
2025-04-08 20:13:14 +02:00
Deer ♡
d3794505f0
Update c_sharp_exports.rst
...
changed line 458:
public MyEnum MyEnum { get; set; }
to:
public MyEnum MyEnumCurrent { get; set; }
because it throws an error if you reuse the already declared name
2025-04-03 19:19:01 +02: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
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
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
tetrapod00
76da87bf07
Document [ExportToolButton]
2025-02-02 17:44:06 -08:00
tetrapod00
c4d3aa134a
Standardize RST header syntax
2024-12-29 13:44:09 -08: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
tetrapod00
ccb0a71db3
Tweak wording in C# differences
2024-12-10 11:11:20 -08:00
easterNday
f967e9e135
Fix C# main screen plugin example and document C# EditorInterface singleton ( #9399 )
...
* 🐞 fix(plugins): fix syntax errors
Correct the syntax errors in the plugin development section, specifically by modifying 'EditorInterface' to 'EditorInterface.Singleton' in the C# portion. It is imperative to utilize the singleton pattern here to ensure the plugin successfully compiles.
* 🐞 fix(different): ADD exceptions
Provide explanations for Singleton exceptions of `EditorInterface`
2024-12-10 11:08:19 -08:00
RB35
1a72210be3
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-27 21:18:13 +01:00
tetrapod00
6feb7b47c8
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-20 09:05:25 -08:00
tetrapod00
77f3eb6b68
Remove performance comparison from C# Basics
2024-11-19 11:03:25 -08:00
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