13

Is there a (quick) way to automatically insert the Java for loop, for example, for (int i=0;i< someInt;i++){ ?

It would be very convenient (as rest of code generation functionality).

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
ps-aux
  • 10,627
  • 21
  • 73
  • 123

2 Answers2

28

Type for and then hit Ctrl + Space.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
jmj
  • 232,312
  • 42
  • 391
  • 431
1

You can also use the Fast Code plugin or define your own template similar to IntelliJ IDEA.

Someone has already posted some templates here.

Peter Mortensen
  • 30,030
  • 21
  • 100
  • 124
zbess
  • 782
  • 6
  • 8