I've been using eclipse for a while learning java but when I type sysout it generally shows println, but now its showing
private void sysout()
when it's supposed to show
anybody know what's wrong?
The completion to use in Eclipse is
syso, Ctrl+Space. This is context-sensitive and needs to be used in a place where a
System.out.println call is valid (i.e. in a method, constructor, initializer block, or lambda)
ctrl-space for the shortcut
Type "sysout" or "sys" and press
ctrl+space. Suggesation list will show where you will find sysout -> System.out.println(). Select that. If your write sysout and press
ctrl+space then it will directly write System.out.println().