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

Template placeholder named %CLASS% for GDScript #71454

Closed
wants to merge 2 commits into from

Conversation

upizpp
Copy link

@upizpp upizpp commented Jan 15, 2023

A new template placeholders named %CLASS% for GDScript has been added.
It is the class name of the script.
For example, %CLASS% in Test.gd will be replaced with Test,
so that it can be used like this:
class_name %CLASS%

@upizpp upizpp requested a review from a team as a code owner January 15, 2023 10:35
@Calinou
Copy link
Member

Calinou commented Jan 19, 2023

Thanks for opening a pull request 🙂

Pull requests should be opened against the master branch instead of 3.x (or 3.5 in your case). This is because feature development occurs in the master branch. We can then cherry-pick specific PRs to the 3.x branch if they don't break backwards compatibility.

@raulsntos
Copy link
Member

@Calinou master already supports class name placeholders, although it uses _CLASS_ instead of %CLASS%. All other placeholders were also changed from using % to _, we'll probably want to keep using % in 3.x.

@lawnjelly lawnjelly modified the milestones: 3.5, 3.x Feb 12, 2023
@upizpp upizpp closed this Jun 10, 2023
@YuriSizov YuriSizov removed this from the 3.x milestone Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants