title: Format multiline code to single line in Visual Studio
body: <p>Is there a keyboard shortcut or fast way to change the code below to a single line in Visual Studio 2013?  I also have ReSharper installed.</p>
  <p><strong>Multi</strong></p>
  <pre class="lang-cs prettyprint-override"><code>new XElement(&quot;Option&quot;,
              new XAttribute(&quot;Name&quot;, &quot;FileDelete&quot;),
              &quot;1&quot;
          ),
  </code></pre>
  <p><strong>Single</strong></p>
  <pre class="lang-cs prettyprint-override"><code>new XElement(&quot;Option&quot;, new XAttribute(&quot;Name&quot;, &quot;FileDelete&quot;),&quot;1&quot; ),
  </code></pre>