<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/61967>61967</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [Clang-Format] [Feature] Align LINQ Query Clauses
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          StrangeRanger
      </td>
    </tr>
</table>

<pre>
    It'd be nice to have a feature in clang-format, that makes it possible to align C# LINQ query clauses under the from clause, or in some other way. Something like the following:

```cs
var seattleCustomers = from customer in customers
                       where customer.City == "Seattle"
 select customer.Name;
```

Here is a link to Microsoft's website providing more information on what I'm talking about: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/coding-style/coding-conventions#linq-queries 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsU92OszYQfRpzM0rkmASWCy52E6Gu1K603SewYQA3xs56hkR5-8qQdNvqQ8jIw_ycOXNGE9nBI9bi8CYOp0zPPIZYf3HUfsA_0xEzE7p7_c5ClR0YBG9bBA4w6iuChh41zxHBemid9sOmD3HSLNQReNQMkz4jgWW4BCJr3BKrnR08HIXK4ff3j0_4njHeU_xMSDD7DiPwiNDHMD3MKWGIqQyFCSHwiBFu-r6FrzAhj9YP4OwZ17jgXLhZP4j8VciTkM-zkOvb0mq46giEmtnhcSYOE0YCkZ8elR-mpbnn7zUQfv3cRoz4j-_2aPme0qWMQqmvtZJQ6pGE0GHLP_4fekKRv_0P7L87-C3ltwQanPXnxOUfto2BQp8GRHBDQ5YRLjFcbZdImcIynXUsNngIHm5pMu9ClROwdufkpk2YWeSvMDJfKPGmGqEahzr67fSssW3DJFSDfjOTUE0X2CML1bQ06ngRquln3-kJPWuXHNqQMGyI76nt57UN_oo-gSGhcmf99yYpwCJB1tV5V-WVzrDeFS-y3MvypcrGut2VpZaqlUWnVVGZvtemwkPR7fvWtHKX2VpJlcu9LKRUhaq2h86UWJm8OlSF0SYXe4mTtm7r3HXahjhklmjGuthVRZk5bdDRcxFinZw2Zh5I7KWzxPQTxpbdsjLHRfDNKvjDCcThrVnXId1eF5Ev-v5c9H1c9Z3N0dX_ZXmwPM7mQW6q8_hsLjH8hW1ieMGaKF3g_h0AAP__WRc2kg">