We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.3.dev3
1.86.1
2.0.0
linux
The code formatter removes spaces around the || operator in if clauses. It doesn't remove spaces around or.
||
or
func test_if_or() -> void: var a := false var b := true if a || b: pass if a or b: pass
After autoformatting:
func test_if_or() -> void: var a := false var b := true if a||b: pass if a or b: pass
The text was updated successfully, but these errors were encountered:
Thanks for the report. I never use ||/&& because or/and are available, so I forgot them when I we were building the formatter tests.
&&
and
Sorry, something went wrong.
DaelonSuzuka
Successfully merging a pull request may close this issue.
Godot version
4.3.dev3
VS Code version
1.86.1
Godot Tools VS Code extension version
2.0.0
System information
linux
Issue description
The code formatter removes spaces around the
||
operator in if clauses. It doesn't remove spaces aroundor
.Steps to reproduce
After autoformatting:
The text was updated successfully, but these errors were encountered: