从此醉
从此醉

Reputation: 117

IntelliJ auto create new method that NOT exist and auto type conversion?

These two quickfix features are quite simple, but in Intellj I can not find them.

For example:

class A {

}

A a = new A();
a.newMethod();//Eclipse can create "newMethod" function in Class A, if we put mouse at here.

Does there is any shortcut key ?

Upvotes: 0

Views: 601

Answers (1)

testlnord
testlnord

Reputation: 458

If you have any problems always try to put your cursor on it and hit 'alt'+'enter' first. It's standard IDEA problem solver.

Upvotes: 2

Related Questions