godotengine / godot-vscode-plugin

Godot development tools for VSCode
MIT License
1.48k stars 148 forks source link

Bitwise operators is formatted incorrectly #676

Closed beicause closed 2 weeks ago

beicause commented 2 weeks ago

Godot version

Don't matters. reproducible without Godot LSP

VS Code version

1.90.2

Godot Tools VS Code extension version

2.0.0

System information

Linux Mint 21.3 (Virginia) - X11

Issue description

<<, >> will be formatted to < <, > >, which is a syntax error in gdscript as below:

2024-07-03 09-39-33屏幕截图

Steps to reproduce

Format gdscript code containing bitwise operators.

atirut-w commented 2 weeks ago

Huh, what happened for you to close it without context?

DaelonSuzuka commented 1 week ago

I'm guessing he noticed that this has been reported before?

beicause commented 1 week ago

Fixed by #605