Skip to content

New scene doesn't name the root node in PascalCase #82741

Closed as not planned
Closed as not planned
@Yelnats321

Description

@Yelnats321

Godot version

4.1.1 stable

System information

N/A

Issue description

The project organization style guide says to name nodes in PascalCase and files in snake_case. If one sets the name of a new scene to be say scene_one, the root node of the scene will also be named scene_one instead of SceneOne.

Although there is a Root Name option in the dialog, it follows convention to automatically rename the root node to PascalCase.

Steps to reproduce

  1. Select Create New>Scene... in the FileSystem view in the editor
  2. Set the Scene Name to scene_one
  3. Press OK
  4. Observe that the root node is also named scene_one

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions