godotengine / godotengine/godot-docs

Some class names are different in GDScript and C# e.g. HTTPRequest vs HttpRequest. Request to mention this explicitly in docs.

Open
#10,941 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.4.1

**Issue description:**
I used the class name at the top of the webpage (HTTPRequest) without noticing that the c# class name is different.
I got
```
CS0246: 'HTTPRequest' could not be found
```
and it took me longer than I´d have hoped to notice that the error was different capitalization of the class name in c#.

The examples show the correct name of the class if you change the language, but I´d like a more explicit highlight of the class name.
Maybe a line saying "This is the GDScript class name, check the C# examples for the C# class name".

I can make the merge request myself, but I´d to request input from the community about the optimal way to go about this.

**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/classes/class_httprequest.html

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.