Settings and activity
72 results found
-
7 votes
An error occurred while saving the comment -
9 votes
An error occurred while saving the comment 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.
-
4 votes
An error occurred while saving the comment LINQPad already exposes the StackTrace - just expand the exception object that appears in the results window.
-
8 votes
An error occurred while saving the comment 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.
-
7 votes
-
6 votes
An error occurred while saving the comment If the query doesn't compile in any mode, what language should be used when presenting the errors?
-
12 votes
An error occurred while saving the comment 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 -
4 votes
An error occurred while saving the comment Do you mean a keyboard shortcut?
-
0 votes
An error occurred while saving the comment LINQPad shows that information in the results window. Just expand the Exception object.
-
3 votes
An error occurred while saving the comment Have you tried disabling pluralization in connection properties?
-
1 vote
An error occurred while saving the comment LINQPad.exe cannot be renamed because the queries that it execute - as well as third-party plug-ins - need to reference LINQPad.exe.
-
6 votes
An error occurred while saving the comment 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.
-
4 votes
An error occurred while saving the comment Note that you can change the default query language in Edit | Preferences
-
4 votes
An error occurred while saving the comment Are you saying that the Schema TreeView is refreshing itself after each query run?
-
3 votes
An error occurred while saving the comment 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 Two workarounds:
- Use Control+G instead (this is mapped to F5)
- Disable Visual-Studio-compatible shortcuts in Edit | Preferences: this will enable Control+E -
3 votes
An error occurred while saving the comment If anyone is intererested in writing a LINQPad driver for SharePoint, info is here: http://www.linqpad.net/extensibility.aspx
-
3 votes
An error occurred while saving the comment 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 You can do this right now:
var custs = Customers;
custs.Where (c => c.Name.StartsWith ("A")).Dump(); -
1 vote
An error occurred while saving the comment 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".
-
6 votes
An error occurred while saving the comment 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.
-
24 votes
An error occurred while saving the comment There is currently support for highlighting text (one color only): Util.Highlight ("Hello").Dump();
Just highlight the code you want to execute and press F5...