godotengine / godotengine/godot-docs

The style guide should explicitly give guidelines for setter getter

Open
#5,651 7 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

Godot version 3.4

There is no explicit guidelines on the seteget variables in the style guide page of the documentation. In particular it would be good to explicitly say where setters and getters should be place (either nearest to the variable or after the built-in functions as every other function does). maybe having naming guidelines for setters and getters would be good i don't know

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.