264 results found
-
Provide a way for .linq scripts to indicate that they require a fresh app domain
Today when running scripts you can use CTRL+SHIFT+F5 or GUI advanced settings to determine whether you get a new app domain.
The thing is, most of the time I want a new app domain... except when I don't (typically because my script is dynamically loading up a bunch of assemblies that could change out from under me or when I am trying to measure/debug/redo some static initialization).
It would be nice if a script could express it's need for a fresh domain via the XML at the top of the raw script file. That way LinqPad would know how to…
1 voteThis feature is already available. Add the following to your script: Util.NewProcess = true;
-
Allow users to remove default assembly references added by LinqPad
LinqPad includes references to common .NET assemblies and its namespaces in each query by default, but it doesn't provide a way for users to remove any of these references and/or namespaces, if they don't use or need them.
This causes issues due to name clashing between classes in different namespace.
For example, the sample code below uses Newtonsoft.Json v12.0.2 to format a JSON string:
var jsonStringMinified = @"{""x"":100.5,""y"":200.4}"; var parsedJson = JToken.Parse(jsonStringMinified); var jsonStringIndented = parsedJson.ToString(Formatting.Indented); jsonStringIndented.Dump();The namespaces imported in this example are:
Newtonsoft.Json
Newtonsoft.Json.Linq
We get a compilation error: "CS0104 'Formatting' is an ambiguous reference between 'Newtonsoft.Json.Formatting' and…
1 voteYou can now remove as well as add namespaces in LINQPad 6.
-
Add Dump extension method to ReadOnlySpan<char>
Dump doesn't extend ReadOnlySpan<char> right now. It'd be nice to have something like
"xxx".AsSpan().Dump();1 vote -
Show full path in tooltip when hovering over a tab for a query.
Similar to visual studio. I have a linqpad script that gets copied into different bin folders. If I have the script open I have no idea which one it is without doing open containing folder.
1 voteThis will be available from version 6.6.6.
-
Bug: Query timer disappears after using compiler optimizations
When I turn on compiler optimizations the query timer disappears. This might be intentional. However, when I disable compiler optimizations the query timer remains hidden. Restarting the application shows the timer again.
I'm using v6.9.15 Pro Edition.
1 voteThis has been fixed in 6.10.5
-
bug: async program in LinqPad6 (EF) doesn't wait.
.. while writing this explanation I noticed that my Async void Main() had an incorrect return type.
After changing it to Task, everything works as expected.
Could you please report it as an error when or warning (green squigly) when writing "async void Main" and suggest "async Task Main" instead ?
When doing the void' version, Linqpad executes and never waits - so the program completes, but run in the background...
1 voteThis is now fixed in 6.10.9
-
display middle c# code like as sharplab
The right window will display the "middle" c# code, it's very useful.
1 voteThis feature is available in LINQPad 6.14 (in beta as of June 2021). Just click the IL translation tab and you will see the translation to C# 1 (as well as IL and assembly).
-
Bug - chart Dump descriptions are applied to future Dumps as well
Great product, just found a small bug. The Chart Dump is incorrectly being applied to everything dumped after it in this case.
void Main() { var a = new[] { 1, 2, 3 } .Dump() // adding THIS dumb caused the bug. remove this and the errorous grouping goes away. ; a.Chart().Dump("This desc should only be chart"); a.Dump("this is nested..."); a.Dump("this too."); }1 voteThanks - will fix in 7.4.3
-
Interactive Regex Evaluator: add spellcheck="false" to patternbox and inputbox
Spelling underlines interfere with pattern editing/selections and constitute visual clutter. Patterns and, possibly, input texts are seldom valid to a spellchecker. Moreover, if you try to open the settings from the spelling right-click menu, the page is invalid.
1 voteThis attribute has been added for release 7.5.13.
-
Fix spelling
Under Preferences -> Advanced -> "Don't show Undo availibility message when restoring queries", the word "availibility" is spelled incorrectly. It should be "availability".
1 voteCompleted for 8.4.2
-
Provide clickable links in exception stack traces to jump to error.
I was benchmarking some code which happened to throw an exception and noticed that the exception stack trace has been formatted to replace the line number with a clickable link that goes to that line in my query.
E.g.

That's a pretty handy feature and I was wondering if the same thing could be done with the unhandled exception message handler?
The FormatException code in BenchmarkDotNet.linq only works for lines in the current query (which would probably cover the vast majority of cases), but doesn't work with #loaded scripts, but the stack trace in the debugger can…
1 voteGreat idea. This is now implemented in 8.4.9.
-
use (or selection) of a mono spaced font in the output shell
when printing to the output shell / console the font is not mono spaced, please change with a mono spaced or offer to select a font
1 voteThis feature is already available - go to Edit | Preferences > Results.
-
Mention SAC in Antivirus performance test
I believe disabling windows 11 SAC Smart App Control, should be mentioned in the Antivirus Performance Test as it has severe impact on performance even when utilizing DEV drive. Turning it off made the test go from ~ 400 ms to < 1 ms on my laptop
1 voteGood call. This has now been updated for 8.8.1.
-
Make the search and replace modal resizable.
The search and replace modal is currently of a fixed width. It would be helpful for longer search queries to be able to resize it.
1 voteThe search/replace box is now auto-sizing in LINQPad 9.
-
Support 1:1 relationships
1:1 relationships would be better represented with entity references on each side - rather than a EntitySet<> on one side.
0 votes -
fix bug with "new" in comments
Typing "new" in a comment causes the intellisense to popup.
0 votes -
Fix bug for default query type
If you change the default query type to C# Program or C# Statements and then create the query by right clicking on a table then result doesn't add the necessary ";" to the generated query.
0 votes -
Map Console.WriteLine to Dump extension method
Often times I use LINQPad to throw together some sample code to post on Stack Overflow. While the veterans will clearly recognize code that uses the Dump() extension method as LINQPad code, beginners are puzzled. So I change it all to Console.WriteLine before posting. It would be nice if I could start with Console.WriteLine and have that behave the way Dump() would.
0 votes -
support for reactive extensions
support IObservable to be Dumped. Have a look at http://naveensrinivasan.com/2010/04/07/using-odata-linqpad-reactive-extensions-rx-to-query-stackoverflow/
0 votes -
Maximum Result Greater Than 10000
As it is with SSMS, I'd like the option to return ALL the results of a query. For example, I'm currently trying to execute a query that should return over 46k rows and I'm only seeing 10k because of the limit imposed by LINQPad.
0 votesDone. Click the ‘Results in Grid’ icon
- Don't see your idea?