Closed grigorig closed 3 years ago
Thanks for opening an issue, I should add a setting to control that. It will detect if the variable name is snake_case already and will generate names like get_something
/set_something
. However, the case-style cannot be determined from a name without any underscores, so a setting is probably preferable.
Added on branch master
, leaving this open until a release is published.
Added a setting Case Style
to control whether getters and setters are generated with names in snake_case, camelCase, or PascalCase.
Added in v0.4.2
It would be very useful if alternative naming styles would be supported. Currently the extension always uses
getSomething
andsetSomething
, but other styles are used as well, for instanceget_something
/set_something
.