Settings and activity

  1. 2 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Create a statements-based query or a .cs file with the following content:

    global using System;
    global using System.Collections.Generic;
    global using System.IO;
    global using System.Linq;
    global using System.Net.Http;
    global using System.Threading;
    global using System.Threading.Tasks;

    Save this to a file called "iusing.linq" or "iusing.cs".

    Then in your query, #load that file (along with the other .cs files you wish to import):

    #load "iusing"
    or
    #load "iusing.cs"

    See https://forum.linqpad.net/discussion/2636/lp7-does-not-handle-implicit-usings for the discussion.

  2. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    You can already set selected indexes as follows:

    var box = new SelectBox (SelectBoxKind.MultiSelectListBox, "one", "two", "three").Dump();
    box.SelectedIndexes = new[] { 0, 1, 2};

  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…)
    1 comment  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    You can achieve this by creating a 'queries' folder inside the LINQPad 6 (or LINQPad 5) application folder.

    See https://www.linqpad.net/PortableDeployment.aspx

  4. 2 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    LINQPad behaves as Visual Studio in this regard. Ctrl+Space doesn't choose a random entry; it pops up a list unless there's only one matching item based on what you've already typed.

    If you want to see a list even when there's only one matching entry, press Ctrl+K,L (same as in Visual Studio).

  5. 6 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    it sounds like you're after a macros feature in LINQPad. A hotkey maps to a user-definable action, where one of the action types is to open and run a query, with the query editor optionally hidden. I'll look into how easy this is to implement.

  6. 0 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Have you thought about using LINQPad's HTML controls?

    Something like this: http://share.linqpad.net/d8o2g3.linq

  7. 662 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    17 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Work on a .NET Core version is underway, but to begin with it will target only Windows (.NET Core 3 Desktop). Cross-platform support may follow, but this will be a separate project and will require a review of the available cross-platform GUI libraries.

  8. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    You can do this by clicking Advanced and under 'Extra connection string parameters', type 'password=...'

  9. 3 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    This would be hard to enforce - even if it's disabled through L2S, you could still make updates via SQL. Have you considered using different login credentials - with only db_datareader role enabled?

  10. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    There's a keyboard shortcut for my extensions (Ctrl+Shift+Y)

  11. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    This is how LINQPad currently works, with the exception of not having an option for Windows credentials. Try the latest beta - it now has a Windows credentials option. Bear in mind that NuGet will ignore this setting.

  12. 5 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Use Ctrl+PageUp and Ctrl+PageDown for the alternative switching behavior.

  13. 3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Isn't this how it already works? For example, run this:

    new { X=1, Y=2 }.Dump (exclude:"X");
    new[] { new { X=1, Y=2 } }.Dump (exclude:"X");

    In both cases, only Y is dumped.

  14. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Do you have a repro? The following works correctly:

    "foo".ToCharArray().Where(x => x

  15. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    You can work around this by putting the snippets in the parent folder. (They'll then to VB too, but this is rarely a problem.)

  16. 4 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Have you tried Environment.SetEnvironmentVariable? You can also write a method in My Extensions to set variables, and then call it in any query. For instance:

    public static class MyVar
    {
    public static void Test()
    {
    Environment.SetEnvironmentVariable ("foo", "value");
    Environment.SetEnvironmentVariable ("bar", "value");
    }
    }

    Then just call MyVar.Test();

  17. 12 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    5 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    The 5.07.06 beta fixes this problem (at least to the point where LINQPad will no longer hang). Autocompletion is likely to lag, though, with queries of this size.

  18. 247 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    10 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    The situation with regard portable deplpoyments has improved in recent betas:
    http://www.linqpad.net/PortableDeployment.aspx

    You can now portablize connections, drivers, default namespaces & references and user preferences, as well as queries, plug-ins and snippets.

  19. 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  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    LINQPad styles the <pre> tag to use a proportional font. A workaround is to add the <code> tag as well.

  20. 6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  LINQPad Feature Suggestions  ·  Flag idea as inappropriate…  ·  Admin →

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    LINQPad honors the global Windows DPI setting. If general readability is an issue, go to the display properties, and choose display scaling > 100%.

    If this does not meet requirements, what is the rationale for wanting LINQPad to use a font for its dialogs, menus, etc., that is larger the font used by all other Windows applications?

← Previous 1 3 4