godotengine / godotengine/godot-docs

No style guide for naming static variables or functions

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

Description

**Your Godot version:**
4.2.2

**Issue description:**
There is no style guide on naming static variables or functions in `gdscript`.
There is [this mention of static functions and variables](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html#methods-and-static-functions) in the Code Order section, but that doesn't actually show an example of a function _or_ variable marked `static`. Nor does it show up in the '[complete class example](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html#gdscript-style-guide)'.

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