You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the auto formatter feature, it incorrectly inserts spaces around the dot notation, which leads to syntax errors in the code. This issue occurs consistently in scripts when saving them, affecting the proper functionality of the code.
Godot version
4.3.stable
VS Code version
1.91.1
Godot Tools VS Code extension version
2.2.0
System information
macOS 14.6.1
Issue description
Description
When using the auto formatter feature, it incorrectly inserts spaces around the dot notation, which leads to syntax errors in the code. This issue occurs consistently in scripts when saving them, affecting the proper functionality of the code.
Steps to reproduce
Steps to Reproduce
Write the following function in a Godot script:
Save the file or trigger auto formatting.
Expected Behavior
The formatter should retain the original spacing without inserting any additional spaces, preserving the integrity of the code:
Current Behavior
After formatting, the script incorrectly introduces spaces around the dot notation, which can potentially lead to syntax errors:
The text was updated successfully, but these errors were encountered: