title: Reformatting code in text mate to established code conventions - Visual studio's ctrl K+D equivalent on Text Mate
body: <p>Can anyone tell me if there's a quick way to format your code in Text Mate, similar to pressing ctrl K+D in Visual studio?</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>Edit by Damien_The_Unbeliever:</p>
  
  <p>For those not familiar with Ctrl K+D, it doesn't just indent code -  it reformats it using the generally established formatting conventions in the editor - it may replace spaces with tabs or vice-versa for the indentation, ensure code is <em>consistently</em> indented, move braces to separate lines, etc.</p>