【发布时间】:2020-11-10 16:13:41
【问题描述】:
我在计算机科学研究中开始学习Java,我需要很多使用打印方法System.out.print();、System.out.println();和System.out.printf();,我在谷歌搜索,我可能没有找到正确的答案因为我不知道怎么问。无论如何,我正在寻找一种方法来设置一些现成的代码,以便在我编写某个关键字并点击 Tab 时出现.
谢谢大家的帮助
【问题讨论】:
-
您是否在 Eclipse 中寻找“代码推荐者”?
-
我认为您正在寻找名为 Snippets 的功能。正如 Vyom Yadav 所提到的,
sysout有一个内置的 sn-p,它完成了System.out.println。