Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make c# code automatic formatted in LinqPad? [closed]

Tags:

c#

linqpad

How to make c# code automatic formatted in LinqPad?

I had tried : Ctrl+E, Ctrl+D to format the entire document. Ctrl+E, Ctrl+F to format the selection.

None of them work.

void Main()
{
    var ids = Enumerable.Range(1, 10);
    var ran = new System.Random(10);
    var q = from n in ids           orderby ran.Next() select n;
            q.Dump();
}
like image 469
Deep in Development Avatar asked Mar 21 '23 15:03

Deep in Development


1 Answers

LINQPad doesn't support automatic code formatting at present. This feature is in the pipeline.

like image 66
Joe Albahari Avatar answered Apr 06 '23 19:04

Joe Albahari