2024年4月25日发(作者:)
类别
Eclipse
快捷键 作用
IDEA
编辑
相关
Alt+/
提供内容辅助功
能,当输入部分
类、属性或方法的
名字后,按此键会
显示匹配的名称
Intellij Idea默认是区分大小写
的,可在{Settings->Editor->Code
Completion}中将Case sensitive
completion设置为None。
{Ctrl+Space} Basic code
completion (the name of any
class, method or variable)
{Ctrl+Shift+Space}
Smart code completion (filters
the list of methods
and variables by expected type)
{Ctrl+Alt+Space}
Class name completion (the
name of any project class
independently of current
imports)
{Ctrl+Shift+Enter}
Complete statement
{Alt+Insert}
(Getters, Setters,
Constructors, hashCode/equals,
toString)
{Ctrl+O}
Override methods
{Ctrl+I}
Implement methods
{Ctrl+J}
弹出对话框,可选择生成main函
数等。输入psvm+tab,则会产生
发布评论