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

1201 results found

  1. I'd like to put some script to public git repo, but I don't want to share connection data which is stored in *.linq files. Please add option to skip saving this. I fully accept a must to choose DB after each script opening.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Code folding works already for properties and methods but not for comments which use the three slash prefix such as:
    /// <summary>
    /// Gets or sets the name
    /// </summary>
    public string Name { get; set; }

    8 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. When constructing a ValueTuple, such as

    var vt = (ItemOne: "This is item 1.", ItemTwo: "This is item 2.");

    and then using the Dump extension method, the dumped output does not reflect the semantic property meanings implied when constructing the ValueTuple.

    It would be nice if instead of Item1 , Item2, etc if you dumped out the actual semantic property names used at instantiation.

    Thank you

    I am using v5.26.01 of LINQPad and v4.4.0 of System.ValueTuple via NuGet / Microsoft.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. I would be great to use LinqPad as a scratchpad i.e. for it to execute code and print results as I type, or with N seconds delay.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. I would love to be able to make lprun open a results window to dump too (identical to the one in linqpad.exe). Perhaps something like lprun "myscript.linq" -format:interactive or something.

    I write a fair number of scripts that dump a whole lot of information and also provide hyperlinqs for taking certain actions based on that information. Like validating a file and providing clickable fixes for any issues.

    It's not hard to just open up LINQPad and run the script, but it'd be great to be able to run a task in my text editor that runs a LINQPad script 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…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. In Sublime Text and Visual Studio Code you can select multiple other occurrences of the current selection with CTRL-D (see the first animation in the main slideshow on https://www.sublimetext.com/).

    I'm so used to this being available that it now almost feels like a chore to have to do a 'normal' find/replace when I'm editing in LINQPad (I know: First World problem...).

    Anyway, it would be amazing if LINQPad gained this capability, as it really speeds things up when hacking about with code.

    21 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. Some settings which are currently global (in Edit > Preferences) should be moved to Query Properties. For instance:

    Query tab:

    • Compile with/without /optimize+
    • Use Roslyn prototype assemblies

    Advanced tab:

    • Compile VB queries in strict mode
    • Do not shadow assembly references
    • Run queries in MTA threads
    • Use MARS with database connections
    0 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. I am compiling code with CSharpCodeProvider and getting error CS1701 with message like that: Assuming assembly reference 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' matches 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', you may need to supply runtime policy.
    In Visual Studio information stored in assemblyBinding section of app.config resolves this problem.
    How to fix that in 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…)
    1 comment  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. VIM Visual Mode:
    Type V and hit three times L.
    Linqpad selects only 3 characters, whereas the original vim would select 4.

    VIM Search replace:
    To replace stuff within the current selection, type in VIM
    :s/Pattern/Replace/g

    New Shortcuts:
    ALT+J / ALT+K navigates to the left / right query tab.

    Thanks for this awesome tool!

    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 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. I would like the option to sort the connections by name, now I have similar named connections all over the place (which already lead to duplication). This sorting would be convinient in combination with the grouping of connections into folders (first order folders, then folder contents)

    18 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. In SQL Management Studio, you can use expressions like

    DECLARE @FirstName NVARCHAR(max)='<Enter FirstName,nvarchar(max),John>';
    DECLARE @LastName NVARCHAR(max)='<Enter LastName,nvarchar(max),Doe>';

    in a *.SQL file. When you press Ctrl+Shift+M, then you are prompted to enter the parameters in one single dialog (in this case it shows "Enter FirstName", and "Enter LastName" displays default values "John" and "Doe", both of type nvarchar(max))

    This is quite useful to have some quickly generated macros at hand, and maybe the idea could be supported in C# for Linq Expressions as well ...

    0 votes
    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 →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Due to the availability to HyperLinq's, it's actually possible to prototype a fairly decent "developer tools" UI with quick shortcuts. However it would be nice if it were possible to start up such a script without the other LINQPad UI, such that only the output panel was visible by default (or it was possible to customize which panels should be visible). This makes sense for both Web and WPF (or other visualizer) panels.

    2 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. Large numbers are exported as scientific notation.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Apparently LINQPad is unable to correctly resolve the extension method if it is available either in the same or sub-namespace.

    E.g. .net-4.7.1 has recently added the Append extension. I had an extension with the same signature in my own library.

    Even though my extension uses the namespace System.Linq.Custom it does not work in LINQPad. There are no problems with it in Visual Studio and there the compiler picks my extension.

    This looks like a bug to me.

    The exact error message is:

    CS0121 The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Append<TSource>(System.Collections.Generic.IEnumerable<TSource>, TSource)' and 'System.Linq.Custom.EnumerableExtensions.Append<T>(System.Collections.Generic.IEnumerable<T>, T)'

    7 votes
    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 →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. Util.WriteCsv method should output DateTime to millisecond accuracy.

    Ideally it should allow us to pass in callback / custom value formatter

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. VB Indexer, missing Parameter-Info

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. Allow a query tab to be labeled without having to be saved. This would really help when you are doing a lot of ad-hoc queries and have many query tabs open and need to navigate between them.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. If I'm Dumping an IEnumerable<Foo>, it would be very nice to be able to use "exclude" to suppress members on the individual items; currently, "exclude" looks for properties on the IEnumerable itself. I can accomplish this by Dumping to a data grid, but I think it should work the same way with rich text as well.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?