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

264 results found

  1. 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…)
  2. 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…)
  3. 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 →
  4. 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…)
  5. 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…)
  6. .. 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…)
  7. 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. 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…)
  9. 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…)
  10. 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…)
  11. 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 →
  12. 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 →
  13. I believe disabling windows 11 SAC Smart App Control, should be mentioned in the Antivirus Performance Test as it has severe impact on performance even when utilizing DEV drive. Turning it off made the test go from ~ 400 ms to < 1 ms on my laptop

    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 →
  14. The search and replace modal is currently of a fixed width. It would be helpful for longer search queries to be able to resize 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…)
  15. 1:1 relationships would be better represented with entity references on each side - rather than a EntitySet<> on one side.

    0 votes
    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 →
  16. Typing "new" in a comment causes the intellisense to popup.

    0 votes
    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 →
  17. If you change the default query type to C# Program or C# Statements and then create the query by right clicking on a table then result doesn't add the necessary ";" to the generated query.

    0 votes
    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 →
  18. Often times I use LINQPad to throw together some sample code to post on Stack Overflow. While the veterans will clearly recognize code that uses the Dump() extension method as LINQPad code, beginners are puzzled. So I change it all to Console.WriteLine before posting. It would be nice if I could start with Console.WriteLine and have that behave the way Dump() would.

    0 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    completed  ·  2 comments  ·  Admin →
  19. 0 votes
    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 →
  20. As it is with SSMS, I'd like the option to return ALL the results of a query. For example, I'm currently trying to execute a query that should return over 46k rows and I'm only seeing 10k because of the limit imposed by LINQPad.

    0 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

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