title: Eclipse delete whitespace shortcut
body: <p>I am always deleting blocks of whitespace from code.  Instead of ctrl-shift-arrow-keying around, I am looking for a way to delete the current whitespace block under the cursor in eclipse.</p>
  
  <p>e.g. say my code is:</p>
  
  <pre><code>    &lt;macrodef name="execute-step"&gt;
          &lt;attribute name="plugins" /&gt;
          &lt;attribute name="step" /&gt;
          &lt;sequential&gt;   |
              &lt;sleep-if-required sleep-time-property-name="sleep-before-@{step}"/&gt;
  </code></pre>
  
  <p>(with the pipe "|" being my cursor).  It would be nice to hit a shortcut key to pull out that block of whitespace, to give:</p>
  
  <pre><code>    &lt;macrodef name="execute-step"&gt;
          &lt;attribute name="plugins" /&gt;
          &lt;attribute name="step" /&gt;
          &lt;sequential&gt;|&lt;sleep-if-required sleep-time-property-name="sleep-before-@{step}"/&gt;
  </code></pre>
  
  <p>(Again, pipe "|" shows cursor position after whitespace is removed.)</p>
  
  <p>Any help would be appreciated.</p>