Skip to content
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

Inconsistent file naming convention between docs and editor when attaching a script to a node #39441

Closed
d0rf3n opened this issue Jun 10, 2020 · 3 comments

Comments

@d0rf3n
Copy link

d0rf3n commented Jun 10, 2020

Godot version:

3.2.1

OS/device including version:

Windows10

Issue description:

The docs (https://docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_styleguide.html#file-names) says to use snake_case for files, but the editors automatic naming uses PascalCase, same as Node names.

Steps to reproduce:
Attach a script to any node, name is same (PascalCase) instead of snake_case.

EDIT: PascalCase not camelCase...

@Calinou
Copy link
Member

Calinou commented Jun 10, 2020

@d0rf3n
Copy link
Author

d0rf3n commented Jun 10, 2020

This is something we should change in the editor, not in the documentation 🙂

I recently added that file naming recommendation to the GDScript style guide.

Exactly what I thought. Thanks!

@Calinou
Copy link
Member

Calinou commented Oct 1, 2023

Closing in favor of godotengine/godot-proposals#1211, as feature proposals are now tracked on the Godot proposals repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants