打开IntellJ IDEA,首先PC打开Settings或OSX打开Preferences,打开设置对话框。

在对话框左上角的搜索框中输入:Live template,会列出相关的选项。在Editor下找到Live template。

点击“Live Templates”菜单,在右边展开的面板中,找到output下面的sout。

原来在idea中,syso被替换成了sout。我们只要把它替换回来就可以正常使用了,当然为了适应新IDE尝试下sout也不错。

将sout改为syso即可。别忘了点击OK或者Apply。
网友评论