在IntellJ中输入psvm,回车/Tab键 在方法体内部有for循环,在IntellJ中是输入fori System.out.println();在IntellJ中是输入sout 更多的提示可以CTRL + j 可以查看,mac系统下是command+j。