0
这两个quickfix功能非常简单,但在Intellj中找不到它们。IntelliJ自动创建不存在的新方法和自动类型转换?
例如:
class A {
}
A a = new A();
a.newMethod();//Eclipse can create "newMethod" function in Class A, if we put mouse at here.
请问有什么快捷键?
这两个quickfix功能非常简单,但在Intellj中找不到它们。IntelliJ自动创建不存在的新方法和自动类型转换?
例如:
class A {
}
A a = new A();
a.newMethod();//Eclipse can create "newMethod" function in Class A, if we put mouse at here.
请问有什么快捷键?
“auto type conversion”是什么意思?例如: – Seb
:'A a = getInstance()'; 'getInstance()'返回Object。它应该是'A a =(A)getInstance();' –
不完全确定你的意思,但alt + enter也允许你创建局部变量。 – Seb