Intellij IDEA上的System.out.println()快捷方式 [英] System.out.println() shortcut on Intellij IDEA

查看:54
本文介绍了Intellij IDEA上的System.out.println()快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道我可以使用"sout" +选项卡打印 System.out.println().有什么办法可以像日食一样使用"Syso" + ctrl + space 做到这一点?

I know I can print System.out.println() with "sout" + tab. Is there a way I can do it with "Syso" + ctrl + space like in eclipse?

推荐答案

在Idea 17eap中:

In Idea 17eap:

sout :打印

System.out.println();

soutm :将当前的类和方法名称打印到System.out

soutm: Prints current class and method names to System.out

System.out.println("$CLASS_NAME$.$METHOD_NAME$");

soutp :将方法参数名称和值打印到System.out

soutp: Prints method parameter names and values to System.out

System.out.println($FORMAT$);

soutv :将值打印到System.out

soutv: Prints a value to System.out

System.out.println("$EXPR_COPY$ = " + $EXPR$);

这篇关于Intellij IDEA上的System.out.println()快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆