Can IntelliJ auto-complete constructor parameters on “new” expression?

后端 未结 5 2075
旧巷少年郎
旧巷少年郎 2020-12-13 01:56

If my class has a non-empty constructor, is it possible to auto-complete parameters in the new expression?

With Eclipse, if you press ctrl+

5条回答
  •  [愿得一人]
    2020-12-13 02:30

    In Intellij Idea 2016.3 you can use option + return. It will ask you if you want to introduce the named argument for the argument you are on and all the followers.

提交回复
热议问题