Skip to content

Settings and activity

72 results found

  1. 4 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)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    If LINQPad were to omit the "tags:" in the search term, and generate "q=linqpaddriver", or "q=linqpaddriver [searchTerm]" where you've entered a searchTerm, would that work in your use-cases? I could enable this behavior when searching non-official NuGet feeds.

  2. 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)
    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Try the 7.5.4 beta and let me know whether it's fixed.

  3. 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)
    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.

  4. 0 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)
    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};

  5. 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)
    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

  6. 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)
    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).

  7. 6 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)
    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.

  8. 0 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)
    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

  9. 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)
    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=...'

  10. 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)
    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?

  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…)
    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)

  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…)
    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.

  13. 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)
    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.

  14. 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)
    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.

  15. 4 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)
    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

  16. 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)
    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.)

  17. 4 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)
    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();

  18. 12 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)
    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.

  19. 248 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)
    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.

  20. 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)
    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.

← Previous 1 3 4