Skip to content

Settings and activity

73 results found

  1. 7 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  · 

    Just highlight the code you want to execute and press F5...

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

    This is probably worth doing, although the workaround is simply to enter a type name (without the namespace) into the main code editor. LINQPad will display a smart tag for importing the namespace.

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

    LINQPad already exposes the StackTrace - just expand the exception object that appears in the results window.

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

    It should already pick up XML documentation files if you have LINQPad Pro or Premium (i.e. with Intellisense).Make sure the XML files are in the same folder as the DLLs you're referencing.

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

    If the query doesn't compile in any mode, what language should be used when presenting the errors?

  7. 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  · 

    Yes - or you can cast it to object - or use Console.WriteLine instead and get the same result:

    dynamic x = new ExpandoObject();
    x.Name = "Mario";
    x.Age = 23;
    ((object)x).Dump();
    Console.WriteLine (x); // same result

  8. 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 mean a keyboard shortcut?

  9. 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  · 

    LINQPad shows that information in the results window. Just expand the Exception object.

  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  · 

    Have you tried disabling pluralization in connection properties?

  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  · 

    LINQPad.exe cannot be renamed because the queries that it execute - as well as third-party plug-ins - need to reference LINQPad.exe.

  12. 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  · 

    Is there specific information you can give to reproduce this? Does the CPU show any utilization when LINQPad freezes on you? On a modern processor, LINQPad should take between 1 and 2 seconds to start up (longer on cold, if the CLR hasn't been warmed up). It should almost never go unresponsive - LINQPad puts all time-intensive tasks onto worker threads. One thing you could try is cleaning up your temp directory - if I/O becomes a bottleneck, Windows tends to get sluggish no matter what you do with threads.

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

    Note that you can change the default query language in Edit | Preferences

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

    Are you saying that the Schema TreeView is refreshing itself after each query run?

  15. 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  · 

    Control+E is also used for commenting/uncommenting code in VS (and also in LINQPad). Why don't you try disabling VS-key-mode in Edit | Preferences - Control+E will then execute a query, and Control+K / Control+U will comment/uncomment code. Go to Help | Keyboard Shortcuts to see all shortcuts.

    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    Two workarounds:
    - Use Control+G instead (this is mapped to F5)
    - Disable Visual-Studio-compatible shortcuts in Edit | Preferences: this will enable Control+E

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

    If anyone is intererested in writing a LINQPad driver for SharePoint, info is here: http://www.linqpad.net/extensibility.aspx

  17. 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  · 

    Bear in mind that you can also create a connection in LINQPad that consumes the typed DataContext that you've created in VS. This will ensure a perfect match with VS.

    An error occurred while saving the comment
    AdminJoe Albahari (LINQPad) (CEO / Founder, LINQPad) commented  · 

    You can do this right now:

    var custs = Customers;
    custs.Where (c => c.Name.StartsWith ("A")).Dump();

  18. 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  · 

    Are you sure you ran the setup and not the standalone executable?

    When installed, LINQPad appears in the program list as "LINQPad" or "LINQPad 4".

  19. 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  · 

    Note that LINQPad now supports code snippets VS-style. You can also define your own and put them either in the VS My Documents C# code snippets directory or in the location specified in LINQPad's Edit | Preferences.

  20. 24 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  · 

    There is currently support for highlighting text (one color only): Util.Highlight ("Hello").Dump();