Skip to content

Commit

Permalink
Add a line length guideline to the GDScript style guide
Browse files Browse the repository at this point in the history
This closes #2567.
  • Loading branch information
Calinou committed Dec 20, 2019
1 parent 54f7f21 commit bc47ace
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions getting_started/scripting/gdscript/gdscript_styleguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ Surround functions and class definitions with two blank lines:

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.

One statement per line
~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit bc47ace

Please sign in to comment.