How to make C # code formatted in LinqPad?

How to make C # code formatted in LinqPad?

I 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();
}
+4
source share
1 answer

LINQPad does not currently support automatic code formatting. This feature is under development.

+5
source

Source: https://habr.com/ru/post/1526432/


All Articles