-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Add project setting to change scene file casing #52597
Conversation
c24a6e9
to
4febea4
Compare
Yes, as it sidesteps the case sensitivity issues that many users run into when exporting projects from Windows or macOS. |
4febea4
to
b2c77fb
Compare
Done. |
Saw this was on the https://github.com/orgs/godotengine/projects/16 board and wasn't ready to be merged as is. Can you rebase? |
b2c77fb
to
6e1aa32
Compare
Done. |
@fire |
While working on #56848. I noticed there were special cases. capitalize() before camelcase_to_underscore(). What are your thoughts? |
6e1aa32
to
76088d4
Compare
The first one was already there, I added the second one as well. |
76088d4
to
6f2dca3
Compare
6f2dca3
to
c7f6315
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved in PR review meeting.
Thanks! |
It seems that "Save Branch As Scene" naming is not affected by "editor/scene/scene_naming" in 4.0.beta1. |
It was fixed recently, will be available for beta2. |
Bugsquad edit:
master
version of #56909.The documentation recommends file names to be in snake case, which is hard to implement because scene files take the name of the root node by default. This adds a project settings to change the default scene name to be either automatically generated, pascal case or snake case.
Should snake case be the default, like #47275 implemented?
Supersedes #47275