mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 21:29:07 +00:00
Change phrasing of the line length gdscript guideline.
This commit is contained in:
@@ -89,9 +89,11 @@ Use one blank line inside functions to separate logical sections.
|
||||
Line length
|
||||
~~~~~~~~~~~
|
||||
|
||||
Try to keep lines under 80 characters. This ensures greater readability on small
|
||||
displays and splitted editors (such as side-by-side diffs). It's OK to go over
|
||||
by a few characters, but a line should never exceed 100 characters.
|
||||
Keep individual lines of code under 100 characters.
|
||||
|
||||
If you can, try to keep lines under 80 characters. This helps to read the code
|
||||
on small displays and with two scripts opened side-by-side in an external text
|
||||
editor. For example, when looking at a differential revision.
|
||||
|
||||
One statement per line
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user