We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Godot version: 3.2.3 mono stable
OS/device including version: Windows 10 x64
Issue description:
1) Create a new scene by right clicking file dock & selecting New Scene...
New Scene...
2) In the popup for scene name, enter a name with spaces (e.g: "my scene")
3) Now create a new .cs script in this new scene. Use the defaults.
4) As the .cs file loads in editor observe red squiggly error lines as the class name is now my scene : Node2D A class name cannot have a space.
my scene : Node2D
Maybe to resolve this the new script dialog should not allow script names with spaces by default?
Steps to reproduce:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered:
Confirmed in 3.2.4 beta 3. Should be fairly easy to solve for anyone interested in Mono editor code.
Sorry, something went wrong.
Merge pull request #44515 from eddsanity/master
4425f7c
Fixed #42149: bug where the default C# script template would sometimes produce an invalid class name
Fixes godotengine#42149 and fixes indentation errors to pass clang-fo…
d4bfa5a
…rmat (cherry picked from commit be1c161)
Successfully merging a pull request may close this issue.
Godot version: 3.2.3 mono stable
OS/device including version: Windows 10 x64
Issue description:
1) Create a new scene by right clicking file dock & selecting
New Scene...
2) In the popup for scene name, enter a name with spaces (e.g: "my scene")
3) Now create a new .cs script in this new scene. Use the defaults.
4) As the .cs file loads in editor observe red squiggly error lines as the class name is now
my scene : Node2D
A class name cannot have a space.
Maybe to resolve this the new script dialog should not allow script names with spaces by default?
Steps to reproduce:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: