“Surround with”-template in Eclipse: foreach

后端 未结 4 784
借酒劲吻你
借酒劲吻你 2021-02-04 14:58

I am new to Eclipse which I use primarily for Java. I have previously used IntelliJ Idea in which it is possible to select a variable which extends Iteratable (Collection, List

4条回答
  •  借酒劲吻你
    2021-02-04 15:47

    You probably cannot do that in eclipse, but type for and hit Ctrl-Space twice you will see the code templates menu pop up. Then you could select functionWhichReturnsList() in proper place and eclipse will do the rest.

提交回复
热议问题