Skip to content

LINQPad Feature Suggestions

More than 100 LINQPad features are a direct result of customer feedback! This is the official forum for posting and voting on ideas – we want to hear from you!

LINQPad Feature Suggestions

Categories

317 results found

  1. There should be away of preventing Highlight / HighlightIf from working when dumping to Grid. At present they just confuse the output (you read the 'raw' value for all the HighlightIf=false rows, but 'object' for all the HighlightIf=true rows)

    If there were a 'DumpContext.Mode' then obviously that could be used as part of the HighlightIf predicate. But there isn't (that I know of). And it can't be query-wide because different parts of a query might be dumped differently (does have to be some kind of dump context).

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  0 comments  ·  Admin →
  2. If you create a new C# Program query and run this code snippet...

    void Main()
    {
    for (int i = 0; i < 10000; i++)
    {
    Console.WriteLine(String.Format("{0:D6} Did all the lines break?", i));
    }
    }

    You will see:

    There is a line break missing at position 4055.
    There is an extra line break inserted at position 5407.

    There is a line break missing at position 6759.
    There is an extra line break inserted at position 8111.

    There is a line break missing at position 9464.

    This is consistent across LinqPad 4 and 5, Windows 10 and Windows Server 2008, LinqPad…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  0 comments  ·  Admin →
  3. Google search no longer supports ~, so F1-generated google searches should not include it.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  0 comments  ·  Admin →
  4. Sometimes, I update my extensions and want to update all affected queries too, but it's not convenient to open each query and search it. A "find in all queries" option like "find in files" in Visual Studio would be great.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  1 comment  ·  Admin →
  5. Often in script flow I need to break (usualy after ReadLine is called and user do not want to continue). In those moment, I always display a message in red then break. It make sens to me that the break method does this.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  1 comment  ·  Admin →
  6. It's just that. I like giving feedback and would like not having to repeat myself dozen times over.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  7. remain Ctrl + . and add Alt + Enter for “Open smart tag”

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  8. Today when running scripts you can use CTRL+SHIFT+F5 or GUI advanced settings to determine whether you get a new app domain.

    The thing is, most of the time I want a new app domain... except when I don't (typically because my script is dynamically loading up a bunch of assemblies that could change out from under me or when I am trying to measure/debug/redo some static initialization).

    It would be nice if a script could express it's need for a fresh domain via the XML at the top of the raw script file. That way LinqPad would know how to…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  9. LinqPad includes references to common .NET assemblies and its namespaces in each query by default, but it doesn't provide a way for users to remove any of these references and/or namespaces, if they don't use or need them.

    This causes issues due to name clashing between classes in different namespace.

    For example, the sample code below uses Newtonsoft.Json v12.0.2 to format a JSON string:

    var jsonStringMinified = @"{""x"":100.5,""y"":200.4}";
    
    var parsedJson = JToken.Parse(jsonStringMinified);
    var jsonStringIndented = parsedJson.ToString(Formatting.Indented);
    
    jsonStringIndented.Dump();
    

    The namespaces imported in this example are:

    Newtonsoft.Json
    Newtonsoft.Json.Linq

    We get a compilation error: "CS0104 'Formatting' is an ambiguous reference between 'Newtonsoft.Json.Formatting' and…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  10. Dump doesn't extend ReadOnlySpan<char> right now. It'd be nice to have something like
    "xxx".AsSpan().Dump();

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  0 comments  ·  Admin →
  11. Similar to visual studio. I have a linqpad script that gets copied into different bin folders. If I have the script open I have no idea which one it is without doing open containing folder.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  12. When I turn on compiler optimizations the query timer disappears. This might be intentional. However, when I disable compiler optimizations the query timer remains hidden. Restarting the application shows the timer again.

    I'm using v6.9.15 Pro Edition.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  13. .. while writing this explanation I noticed that my Async void Main() had an incorrect return type.

    After changing it to Task, everything works as expected.

    Could you please report it as an error when or warning (green squigly) when writing "async void Main" and suggest "async Task Main" instead ?

    When doing the void' version, Linqpad executes and never waits - so the program completes, but run in the background...

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  14. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  15. The Results window gets cluttered as I debug my code, especially with the Dump results.

    Please provide a menu option to clear out the Results pane.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  16. Great product, just found a small bug. The Chart Dump is incorrectly being applied to everything dumped after it in this case.

    void Main()
    {
        var a = new[] { 1, 2, 3 }
        .Dump() // adding THIS dumb caused the bug.  remove this and the errorous grouping goes away.
        ; 
    
        a.Chart().Dump("This desc should only be chart");
    
        a.Dump("this is nested...");
        a.Dump("this too.");
    }
    
    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  17. Spelling underlines interfere with pattern editing/selections and constitute visual clutter. Patterns and, possibly, input texts are seldom valid to a spellchecker. Moreover, if you try to open the settings from the spelling right-click menu, the page is invalid.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  18. Under Preferences -> Advanced -> "Don't show Undo availibility message when restoring queries", the word "availibility" is spelled incorrectly. It should be "availability".

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  19. I was benchmarking some code which happened to throw an exception and noticed that the exception stack trace has been formatted to replace the line number with a clickable link that goes to that line in my query.

    E.g.

    ![](https://us.v-cdn.net/5019392/uploads/editor/oe/99r1kswzag49.png "")

    That's a pretty handy feature and I was wondering if the same thing could be done with the unhandled exception message handler?

    The FormatException code in BenchmarkDotNet.linq only works for lines in the current query (which would probably cover the vast majority of cases), but doesn't work with #loaded scripts, but the stack trace in the debugger can…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
  20. when printing to the output shell / console the font is not mono spaced, please change with a mono spaced or offer to select a font

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
  • Don't see your idea?