Releases: Scony/godot-gdscript-toolkit
Releases · Scony/godot-gdscript-toolkit
3.2.8
Added
- Added support for legacy (godot 3.1) parenthesesless
assert
(e.g.assert 1 == 1
) - Added support for recursive file finding in
gdlint
(e.g.gdlint dir1/ dir2/
) - Added pre-commit hooks which can consumed by
pre-commit
project - Added a possibility to disable linter checks (e.g.
# gdlint: ignore=function-name
inline or in the line before) - Added support for underscored numeric literals such as
1_000_000
,1_000.000
, and0xff_99_00
Fixed
- Introduced WA for Godot's
preload
bug - Improved formatter to remove trailing whitespaces also from comments
- Added missing
class_name (...) extends (...)
statement support in grammar and formatter - Fixed false positive
TreeInvariantViolation
forneg_expr
Changed
var x = load('some.tres')
is allowed since it may be custom resource instance loading
3.2.7
3.2.6
Fixed
- Improved comment parsing time by a tiny chunk
- Improved formatting time due to loosen grammar removal
- Improved formatting time due to grammar caching
- Improved formatting time due to parse tree reuse in safety checks
- Fixed bug in grammar causing func suite to consume statements from outer scope
Changed
- Enum doesn't add trailing comma unless it was in place from the very beginning
- Level-0 standalone comments are not indented anymore