问题
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