Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse CDT generated getters / setters name

Is there a way (either via the UI, or in config files) to change the names of the C++ getters/setters generated by Eclipse CDT from the Java-style getSomething() to the more C++ like something() ?

like image 484
galileoMonkey Avatar asked Nov 26 '25 01:11

galileoMonkey


2 Answers

It's now possible via the following menu:

enter image description here

like image 197
Emile Bergeron Avatar answered Nov 27 '25 15:11

Emile Bergeron


Unfortunately there's absolutely no way to do that currently, as get and set prefixes are hard-coded in Generate Getters/Setters wizard code.

like image 36
Aleksei Potov Avatar answered Nov 27 '25 15:11

Aleksei Potov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!