I using sout + Tab
shortcut in IntelliJ IDEA for System.out.println();
statement.
I want know if there are any synonyms of above shortcut in MyEclipse?
Settings/Preferences -> Editor -> Live Templates. Find out the "sout" shortcut and put "System. out. println();" in the expands to section.
Shortcut to use Eclipse shortcuts in IntelliJ Idea: Press ctrl+`(also have tilde~ on it, button at the left side of digit 1). Then press 3 (Keymap) and select 2 (Eclipse). Done!
println statement in your Java file, you can use the following Eclipse shortcut keys. Just type "sysout" in your Java editor and press Ctrl + space, which triggers code completion. This will expand sysout into System.
In Eclipse you can type the following (so I guess MyEclipse does the same):
Sysout + CTRL-SPACE
Actually you can do something similar in Eclipse (even with slightly less letters to type):
syso + CTRL-SPACE == System.out.println();
syse + CTRL-SPACE == System.err.println();
Those are part of the many predefined templates found in Window > Preferences, Java | Editor | Templates
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