title: Visual Studio c# auto indent selection
body: <p>I would like to perform auto indentation on my c# code in visual studio, however the (Ctrl K,D) option reports "The key combination (Ctrl K,D) is not a command".</p>
  
  <p>I try Ctrl K, Ctrl D but this also has no effect.</p>
  
  <p>Even when I select Edit->Advanced->Format Selection, this has no effect.</p>
  
  <p>Update :</p>
  
  <p>It appears that for code such as </p>
  
  <pre><code>XElement element1 = new XElement("books",
      books.Select(x =&gt; new XElement("book",
         new XElement("name", x.Name),
         new XElement("price", x.Price))));
  </code></pre>
  
  <p>The format selection or format document commands have no effect, however these commands work for more 'regular' constructs.</p>