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

Naming rule for user-defined identifers #1085

Open
nighca opened this issue Nov 12, 2024 · 0 comments
Open

Naming rule for user-defined identifers #1085

nighca opened this issue Nov 12, 2024 · 0 comments
Assignees

Comments

@nighca
Copy link
Collaborator

nighca commented Nov 12, 2024

User-defined identifers include:

  • Identifiers defined in user code
  • Sprites, which result in struct definitions with the same name in compiled code
  • Sprites & sounds, which requires a variable definition with the same name to trigger auto-binding

Rules may be applied in these places:

  • Static check by LS
  • Name validation when renaming identifiers defined in user code
  • Name validation when renaming sprites & sounds
  • Creation for sprites & sounds
@nighca nighca self-assigned this Mar 5, 2025
@nighca nighca changed the title Refuse sprite with name Game Refuse sprite / sound with name Game Mar 7, 2025
@nighca nighca changed the title Refuse sprite / sound with name Game Update naming rules for sprite & sound Mar 7, 2025
@nighca nighca changed the title Update naming rules for sprite & sound Naming rule for user-defined identifers Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant