-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Rename tscn
and tres
to scene
and res
(prefix binary formats with b
)
#3255
Comments
tscn
and tres
to scene
and res
tscn
and tres
to scene
and res
(prefix binary formats with b_
)
I'm not sure what this solves. Extension names are mostly inconsequential, using full generic words for them is not a good idea and underscored extensions aren't a common practice. |
It makes it easier to understand what these files are for.
I guess, I just thought
Possibly, we could do |
tscn
and tres
to scene
and res
(prefix binary formats with b_
)tscn
and tres
to scene
and res
(prefix binary formats with b
)
I'm pretty sure we cover this in docs already, and if not, we should. Learning extensions doesn't take long, and then they don't matter as long as they are distinguishable. I'm not against this per se. It's just very hard to prove that this is an improvement, and not just a change for change's sake. Plus, since you propose to change the meaning of the existing res extension, it may introduce confusion. |
True, but for someone learning Godot for the first time every thing they don't have to look up is one less thing they have to remember and one less thing to feel confused about. When I first started learning Godot, I was watching YouTube tutorials, and I don't remember most of them stopping and explaining what |
I also think we should keep the current file extensions, as extensions that you use often should be kept short for usability reasons. Also, extensions with underscores or dashes tend to look awkward, so I'd avoid them. |
Closing due to lack of support, see above reactions. |
Describe the project you are working on
Games that use scenes and resources.
Describe the problem or limitation you are having in your project
When I was first learning Godot, I didn't get what
.tscn
or.tres
stood for (text scene and text resource). I don't think they're the most intuitive file extensions.Describe the feature / enhancement and how it helps to overcome the problem or limitation
Because the people dealing with Godot files most often are going to be Godot developers, and Godot developers are most likely to be using text scenes and text resources during development,
tscn
andtres
are seen quite a bit more often thanscn
andres
. I think, for this reason, the file format that gets the prefix should be swapped. I propose:I'm open for discussion about alternative rename ideas though.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Rename the file extensions in the code that creates and reads them. For users, this could be handled automatically by a Godot 3.0 to 4.0 project upgrader (#387).
If this enhancement will not be used often, can it be worked around with a few lines of script?
No.
Is there a reason why this should be core and not an add-on in the asset library?
This is core.
The text was updated successfully, but these errors were encountered: