Skip to content
New issue

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

GDScript formatter adds space between pow operator "**" #602

Open
JoelBesada opened this issue Feb 25, 2024 · 1 comment
Open

GDScript formatter adds space between pow operator "**" #602

JoelBesada opened this issue Feb 25, 2024 · 1 comment
Assignees
Labels

Comments

@JoelBesada
Copy link

Godot version

4.2.1

VS Code version

1.87.0-insider

Godot Tools VS Code extension version

2.0.0

System information

macOS Sonoma 14.3.1

Issue description

When formatting gdscript, any pow operators ** gets a space inserted in between * *, resulting in invalid syntax.

Steps to reproduce

Run the formatter on the following line of code:
var value = 10 ** 5

@JoelBesada JoelBesada added the bug label Feb 25, 2024
@DaelonSuzuka
Copy link
Collaborator

Thank you for reporting this. I can't believe I forgot the exponent operator!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants