title: Is it possible to auto-format code in Visual Studio's Web Essentials
body: <p>I would like to have a way to auto-format specific code in Web Essentials to suit our internal design rules. So, for example, when a user types a hex code with lower case letters, it will automatically set all letters in the code to upper case. I've been searching around for a solution to this but I can't seem to find anything or know if it's even possible.</p>
  
  <p>For clarity, I would like to "write" a set of rules (ideally to a file that could be distributed) that people could use to auto-format their code.</p>
  
  <p>In addition to this, is it possible to output a block of code from a smaller, pre-defined string of text. So, for example, instead of writing out:</p>
  
  <pre><code>/*------------------------------------*\
   Tables
  \*------------------------------------*/ 
  </code></pre>
  
  <p>the user could write:</p>
  
  <pre><code>section Tables
  </code></pre>
  
  <p>and have it output like above.</p>
  
  <p>Thank you in advance.</p>