Godot version
v4.7.dev1.official [bf95b6258]
VS Code version
1.109.5
Godot Tools VS Code extension version
2.6.1
System information
Windows 11
Issue description
When formatting code with @abstract in a function before and using is with () braces around, it will remove the spaces.
Steps to reproduce
When formatting the following code
@abstract
extends RefCounted
@abstract func foo()
func cmp(other: Node):
if (other is Node):
pass
The first formatting will be:
@abstract
extends RefCounted
@abstract func foo()
func cmp(other: Node):
if (other isNode):
pass
and after another
@abstract
extends RefCounted
@abstract func foo()
func cmp(other: Node):
if (otherisNode):
pass
Godot version
v4.7.dev1.official [bf95b6258]
VS Code version
1.109.5
Godot Tools VS Code extension version
2.6.1
System information
Windows 11
Issue description
When formatting code with
@abstractin a function before and usingiswith()braces around, it will remove the spaces.Steps to reproduce
When formatting the following code
The first formatting will be:
and after another