This repository has been archived by the owner on Mar 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
How to tell generator to generate script name for certain enum members? #16
Comments
n9
changed the title
How to tell generator to generate script alias for certain enum members?
How to tell generator to generate script name for certain enum members?
Oct 6, 2014
In what way does |
Sorry, thought this was in the compiler repo :) This does not have any support right now, but you're welcome to add it. I'm not 100% sure, though, that this is a good idea; I see inconsistencies coming where some names are camel-cased and some only have capital first letters. At least the way it is now is consistent. |
I thought that the names could be somehow overridden in |
Yes, but we'd need to go through every single enum (both current and future ones) and specify the correct casing. IMO not worth the job, the whole idea about auto-generating is to minimize manual work, and I don't see this feature worth the maintenance it requires. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For instance, I would like to specify
[ScriptName("keypress")]
and change the name ofElementEvents.Keypress
toElementEvents.KeyPress
.The text was updated successfully, but these errors were encountered: