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
System.out.println();
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 (ie in a method, constructor, initializer block, or lambda)
键入syso
然后按ctrl-space
作为快捷方式
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().
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.