I look for some trick which gives me possibility to change the syso behaviour in Eclipse (please assume that below there is Eclipse´s editor), now it works in this way:
syso%someVariable
% - means the plase when i typed ctrl + space, and result is:
System.out.println();someVariable
but I want to have of course without copying text..:
System.out.println(someVariable);
Any hints ? :-) Thanks in advance !
Reference
The feature is called "code templates" in Eclipse. You can add templates with Preferences->Java->Editor->Templates. Two good articles:
Also, this SO question:
System.out.println()
is already mapped to sysout
, so you may save time by learning a few of the existing templates first.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With