1195 results found
-
Bug: Get Exception on Dump() Empty string if Dll Reference exists
Hi
I found an strange Exception eg. Bug in LinqPad.
Following Code works:
´´´
var e = foo();
e.Dump();
string foo() { return ""; }
´´´But if I add any Reference on *.dll over F4, "Additional References" and "Add/Browse"
I get on .Dump() following Exception:
"The type initializer for 'DumpExtensions' threw an exception."
inner Exception: The invoked member is not supported in a dynamic assembly.This stops the practical using of Dump() in my Code.
2 votes -
Handle Implicit Usings when using #load
If using #load on a .NET 6 C# file that used implicit usings, LINQPad will complain when using anything from the implicit namespaces, such as saying that the type Action<> could not be found when System is implicit. It would be nice if LINQPad could handle implicit usings so if I #load such a file, it should function properly.
2 votes -
Add "Export to JSON file" to result grid context menu.
I do a lot of messing around in LINQPad, and sometimes I get a result I want to process further... but I didn't remember to export the results in my script. I can use the 'Export to CSV file' or 'Export to HTML file' options to get the data out and hope that I don't need any collection contents, but then I have to parse the CSV back into an object list in the next script.
Could we please get an 'Export to JSON file' option that uses System.Tex.Json.JsonSerializer to create an export file? Indented formatting would be nice but…
2 votes -
Add confirmation to closing more then query at a time
Due to stress, evil mice and physical handicaps please add a confirmation box that verifies if the user wants to close more than one query, with option to shelve to a Shelve List and the ability to check not to be asked again for the very brave persons out there.
2 votes -
Allow Hyperlinq as Dump() header
Allow Hyperlinq as Dump() header (Results Rich Text only?):
.Dump(new Hyperlinq("https://www.linqpad.net/", "LINQPad"))
2 votes -
Debug into scripts that are #load-ed
It would be extremely useful to be able to debug into #load-ed scripts. I know they are scripts in themselves, and can be executed separately. But then maybe only allow this for .cs or .csx files?
2 votes -
Support custom keymps and text editing actions like vscode
Would be nice to have custom keymaps like the vscode one.
And actions like ctrl+D in vscode, move line up, down, delete line, copy line.2 votes -
1 vote
-
Integrate with a code snippet site like Pastie
It would be nice to send a linqpad query window to something like http://pastie.org/ so that it is easy to request assistance from others.
1 vote -
Disable Debug Messages Option
When testing our application's objects via LP, our System.Diagnostic.Debug.WriteXXX messages are being captured in the Results window. Is there any way of disabling this feature in LP?
1 vote -
Close the application to the system tray
It would be handy if LINQPad closed to the system try so that it could be get around all the time. It's a great lightweight tool for trying out things.
1 vote -
1 vote
-
in the export results functionality, provide a way to export a complextype definition for the result
1 vote -
Make shift-click in the results pane collapse/expand all boxes of the same "class"
For example, when querying with a group by clause with multiple keys, shift+click the Key field make all Key properties collapse or expand.
1 vote -
Add a link to the app in programs menu on install
I was a little surpursed when i installed the app that it was not in the program list. Granted it is small and i typically use the autocomplete to find and launch apps but it does make me question future maintenance, uninstall and clean up issues.
1 vote -
1 vote
-
Submit examples to common scripting repository to download directly into LINQPad
Allow users to submit scripts to a LINQPad online script repository and have ratings and view counts to sort by.
Turn on "ambient intellisense" (ambient autocomplete) for extension methods not downloaded but provided on the Web. (Build and maintain index on client). And a magic key combo to automatically download that extension and any dependencies it has on other ambient code. Show reviews, ratings and view count in client.
1 vote -
Simulated Execution (LINQ to SQL)
A driver or mode that executes a program but does not execute any LINQ to SQL changes but instead captures these in a new SQL script you can save.
1 vote -
See generated Std Query Operators under lambda display
Can be important to see the generated calls of Std Query Operators when designing new LINQ providers. Request clicking the lambda button next to "Results" to show this, as in
from x in new int[] {1,2,3}
select x * xnew int[] {1,2,3}.Select(x=>x*x)
This gets real important with the various SelectMany overloads, as in
for a in new int[] {2,3}
for b in new int[] {7, 11}
select new int[] {a, b}does this gen code for
IEn<B> SelectMany<A,B>(this IEn<A> as, Func<A, IEn<B>> f)
or for
IEn<B> SelectMany<A,B>(this IEn<A> as, Func<A, IEn<A>> f, Func<A, A, B>> g)
? Would love…
1 vote -
allow LINQPad 4 .exe to be named LINQPad4.exe
since LINQPad 4 is a .NET 4 version,
imho,
I'd like to name it LINQPad4.exe
BUT it refuses to run.1 vote
- Don't see your idea?