title: Configure Intellij for Java 8 lambda defaults
body: <p>Is it possible to have intellij always declare lambdas in a certain way.</p>
  
  <p>For instance, sometime intellij will refactor a lambda into: </p>
  
  <pre><code>method(length, index -&gt; { return null; })
  </code></pre>
  
  <p>using blocks but no parentheses on the parameter index. It makes it hard to adjust at time. </p>
  
  <p>I would like it to always use this syntax instead: </p>
  
  <pre><code>method(length, (index) -&gt; { return null; })
  
  method(length, (Integer index) -&gt; { return null; })
  </code></pre>
  
  <p>And always use blocks, unless it is a method reference, ie obj::method. </p>
  
  <p>Can this be done? </p>