Is there a shortcut for System.out.println on Netb

2019-06-18 09:32发布

问题:

This question already has an answer here:

  • How to make System.out.println() shorter 12 answers

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.