Independent set of GDScript tools - parser, linter, formatter, and more
breakpoint
statementfor
loop iterator (#241)--use-spaces=<int>
option to gdformat
so that space-based indentations can be used instead of tab-based onesmax-public-methods
linter check disabling (#222)extends
(#242)2.0
constructs to the core testcasesawait
3.x
) GDScript from core testcaseslark
dependency to the latest release - 1.1.5
subscr_expr
/getattr
/getattr_call
chains formattingno-elif-return
linter checkno-else-return
linter checkgd2py
(GDScript-to-python) converter toolgdradon
code metrics toolVector2/3()
in match
patternsfunc()
export onready var
statement on class
levelmastersync
and puppetsync
functions--diff
option to gdformat
which acts the same as --check
, but with additional difference printing--fast
option to gdformat
to skip safety checks (thus being faster)gdparse
, gdlint
, and gdformat
static func
, master func
etc.pass
statement on class
level# gdlint: disable=function-name
to # gdlint: enable=function-name
puppet var
GDScript style guide
('x'
-> "x"
, '"'
-> '"'
. "'"
-> "'"
, '"\''
-> "\"'"
)tab-characters
that allows treating tabs as multiple characters while calculating line length1 as String
) to always be in one line (this is forced by Godot's bug)3.1
) parenthesesless assert
(e.g. assert 1 == 1
) due to grammar conflict with modern (godot 3.2
assert)!(1==1)
instead of ! (1==1)
) while for not
the behaviour remains the same (not (1==1)
)export (...)
- will be formatted as export(...)
from now on