Why sysout won't work?

前端 未结 15 1103
死守一世寂寞
死守一世寂寞 2020-12-30 10:44

I checked the preferences settings in my Eclipse, it\'s all set to default with sysout option on, but when I typed sysout in eclipse, it won\'t automatically go into S

15条回答
  •  鱼传尺愫
    2020-12-30 11:22

    For me sysout in eclipse created in two lines. println() in new line..Then I found myself how to avoid this and get System.out.println in one line ..go to Windows > Preferences > Java->Templates (or type templates on search field in top left corner box).Then In template configuring section uncheck "use code formatter"..thats it.. :)

    System.out
             .println();
    

提交回复
热议问题