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

1205 results found

  1. It would be nice to have comment slashes (//) prepended to the first non-whitespace character of a line rather than the beginning of the line.

    Example

    Current functionality - Before using the comment shortcut:
    void Main()
    {
    \s\s\s\sConsole.WriteLine();
    }

    Current functionality - After using the comment shortcut:
    void Main()
    {
    //\s\s\s\sConsole.WriteLine();
    }

    Desired functionality - After using the comment shortcut:
    void Main()
    {
    \s\s\s\s//Console.WriteLine();
    }

    • Sorry for the awkward 'regex'-like values representing a space. This wasn't posting with all the spaces.
    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)
  2. Our Dev and QA servers have at least a hundred databases on each server instance. It would be great if there was a "Quick Select" for databases similar to the "Navigate to Query" ctrl+, window. I know there is the drop down at the top, but it is not a searchable drop down.

    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)
  3. I recently write a web crawler which fetches data from website and store into the database. Since I have already had some same kind of data in the database, I have to use linq to detect whether or not the data fetched from website has already been in the database. Here comes the problem: every times the compiler runs into the Linq expression against the database table, it seems like it generates a new instance of the database, and not disposing it after leaving the brackets. Thus the query at some point would ran out of the memory. I rewrite…

    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)
  4. DumpContainer is cool, but it's not convenient to new a DumpContainer() and set the Content.
    Please support Dump(string containerName).

    Like this:

    public static class DumpExtensions
    {
    public static Dictionary<string, DumpContainer> dict = new Dictionary<string, LINQPad.DumpContainer> { };

    public static T Dump<T>(this T obj, string description, string containerName)
    {
        if (!dict.ContainsKey(containerName))
        {
            dict[containerName] = new DumpContainer().Dump();
        }
        dict[containerName].Content = obj;
        return obj;
    }
    

    }

    // Then I can simplely print 1-100 in 5 containers

    void Main()
    {
    DumpExtensions.dict.Clear();
    for (int i = 0; i < 100; i++)
    {
    i.Dump("", (i%5).ToString());
    System.Threading.Thread.Sleep(100);
    }
    }

    5 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)
  5. Any of the following key combinations will exit insert mode: Escape, Shift+Enter, Ctrl+Enter. Typing 'kj' quickly will also exit insert mode if you enable that option in Preferences.

    Ctrl+[ is a common alternative to escape in vim. A lot of vim users do not use the Esc key directly as it means taking your hand of the home row. Specially if you have Caps lock mapped to Ctrl. It would be nice to have it as an option.

    9 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)
  6. Currently in the beta charting works really nice, except it is not possible to add an extra XY set, only a Y set can be added using .AddYSeries.

    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. Currently in the beta charting works really nice, except it is not possible to add an extra XY set, only a Y set can be added using .AddYSeries.

    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)
  8. Please add support for https://codestats.net

    Thank you.

    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)
  9. I'd like to be able to configure the transparency of the CTRL key when the Intellisense window pops up.

    The problem I have is, I use Emacs key bindings and CTRL+N and CTRL+P interfere with my UP/DOWN navigation scrolling through the Intellisense list. It's annoying trying to move up and down and the pop up keeps fading to transparent.

    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)
  10. 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)
  11. 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)
  12. 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)
  13. 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)
  14. 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)
  15. 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)
  16. 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)
  17. 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)
  18. 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)
  19. 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)
  20. 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)
  • Don't see your idea?