godotengine / godotengine/godot-docs

Add section on name lookup and shadowing to GDScript Reference page

Open
#10,691 0 comments 0 reactions 0 assignees View on GitHub
area:manual enhancement topic:gdscript
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.4
**Issue description:**
See https://github.com/godotengine/godot-docs/pull/10679#discussion_r1957049123 for original context.

- Add a short section on how name lookup and shadowing works.
- Possibly mention named classes, possibly named classes section links to this new section
- Mention the warning you get when shadowing a name.

**URL to the documentation page (if already existing):**
https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.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.