Skip to content

Allow newlines between if/elif/else and similar #276

Description

@brady444

With the new formatter rewrite, I am unable to add newlines between my if/elif/else lines:

func test() -> void:
	if true:
		print("one")
	elif true:
		print("two")
	else:
		print("three")

With the old version, this was allowed:

func test() -> void:
	if true:
		print("one")

	elif true:
		print("two")

	else:
		print("three")

Please allow this again or add a config option to toggle this behavior. Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions