java - Eclipse | code template for System.out.println() -
i have got following code template system.out.println in eclipse
system.out.println(${word_selection}${});${cursor} i under impression write text, select it, enter ctrl+space, , write sop - , eclipse write proper line me. not happening. can me understand way ${word_selection} supposed work?
you need select text , press ctrl+space twice. first time it, "default proposals" shown. next time applicable code templates shown. unfortunately cannot type name of template since overwrite selected text, can select arrow keys , press return.
it after second ctrl+space on eclipse default templates:

Comments
Post a Comment