Java Netbeans 上是否有 System.out.println 的快捷方式?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/38140115/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 20:02:10  来源:igfitidea点击:

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

javanetbeansshortcut

提问by Dimitrios Pilitsis

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

我已经看到在 Ecplise 上你可以输入 sysout 然后快捷方式将更改为 System.out.println();

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

我想知道 Netbeans(目前是 8.1)是否有这样的快捷方式。

采纳答案by Mossroy

回答by Jordi Castilla

Just write:

写就好了:

sout+ tab

+tab

SOURCE.

来源