I'm currently in a java software development traineeship and now quite often i need to write a 'getter' and a 'setter'.
The IDE (IntelliJ) can do this automatically but if its not necessary i'd rather not get the mouse and do some clicks (yeah i am very lazy -_-).
My idea was to have a text expander with the following content:
Code: Select all
public %INPUT_type% get%INPUT_name%{(}{)} {{}
return this.%INPUT_name%{;}
Code: Select all
public int getcounter() {
return this.counter;
}
But i want to have Fastkeys type the following
Code: Select all
public int getCounter() { --> notice the capital letter C here, that's the difference
return this.counter; --> but no capital letter C here. I've been taught that this is convention and i'd like to follow this convention.
}
Is it possible to only have one %INPUT_name%, but tell Fastkeys to type it once WITH a capital letter and once WITHOUT a capital letter?
Thanks for your help in advance,
With kind regards,
-RMDoubleYou