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
The first argument is not parsed as a string (it's not coloured as one).
A little bit more than the first argument is broken, don't you think?
It appears that the rules for defining setters and getters are interfering here. I don't know what your 'set' function is, but as a workaround you can try explicitly adding self.:
Godot version
4.3
VS Code version
1.96.1
Godot Tools VS Code extension version
2.3.0
System information
Linux
Issue description
The following code is not parsed correctly:
The first argument is not parsed as a string (it's not coloured as one).
Then the formatter adds a space after the
>
, which breaks the script:Steps to reproduce
Create a new GDScript file, paste the following code and format the document:
The text was updated successfully, but these errors were encountered: