September 23, 2009

[SOLVED]How to use the “sysout” snippet in Eclipse with selected text?

"The sysout template acts upon entire Java statements.



1. Highlight a statement in the editor.

2. Hit CTRL-SPACE (or whatever you have set up for content assist.)

3. Type sysout then hit enter. Note that when you're typing sysout it will temporarily overwrite your statement (but it will come back wrapped by System.out.println when you hit enter.)" stackoverflow.com

No comments:

Post a Comment