Is there a shortcut for System.out.println on Netbeans? [duplicate]

家住魔仙堡 提交于 2019-12-23 09:10:37

问题


I have seen that on Ecplise you can type sysout and then the shortcut will change to System.out.println();

I was wondering if there was a shortcut like this for Netbeans(currently 8.1).


回答1:


Type "sout" then hit tab.

See https://netbeans.org/project_downloads/usersguide/shortcuts-80.pdf




回答2:


Just write:

sout + tab

SOURCE.



来源:https://stackoverflow.com/questions/38140115/is-there-a-shortcut-for-system-out-println-on-netbeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!