317 results found
-
Skip Highlighting when dumping to Grid
There should be away of preventing Highlight / HighlightIf from working when dumping to Grid. At present they just confuse the output (you read the 'raw' value for all the HighlightIf=false rows, but 'object' for all the HighlightIf=true rows)
If there were a 'DumpContext.Mode' then obviously that could be used as part of the HighlightIf predicate. But there isn't (that I know of). And it can't be query-wide because different parts of a query might be dumped differently (does have to be some kind of dump context).
1 vote -
Fix Bug: line breaks skipped or added during output
If you create a new C# Program query and run this code snippet...
void Main()
{
for (int i = 0; i < 10000; i++)
{
Console.WriteLine(String.Format("{0:D6} Did all the lines break?", i));
}
}You will see:
There is a line break missing at position 4055.
There is an extra line break inserted at position 5407.
There is a line break missing at position 6759.
There is an extra line break inserted at position 8111.
There is a line break missing at position 9464.This is consistent across LinqPad 4 and 5, Windows 10 and Windows Server 2008, LinqPad…
1 vote -
Remove tilde (~) operator from generated google searches, since it no longer works.
Google search no longer supports ~, so F1-generated google searches should not include it.
1 vote -
Find in queries
Sometimes, I update my extensions and want to update all affected queries too, but it's not convenient to open each query and search it. A "find in all queries" option like "find in files" in Visual Studio would be great.
1 vote -
Method Util.Break should accepts an explaination message to be displayed in red.
Often in script flow I need to break (usualy after ReadLine is called and user do not want to continue). In those moment, I always display a message in red then break. It make sens to me that the break method does this.
1 vote -
Remember e-mail address in "Report bug" window
It's just that. I like giving feedback and would like not having to repeat myself dozen times over.
1 voteAvailable from 5.28.01
-
A Keyboard Shortcuts for Editor to Open smart tag
remain Ctrl + . and add Alt + Enter for “Open smart tag”
1 voteAlt+Enter is supported in recent builds.
-
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).
-
Provide a Menu option for Clearing the Results Window
The Results window gets cluttered as I debug my code, especially with the Dump results.
Please provide a menu option to clear out the Results pane.
1 voteThis is now available in 9.10.3
-
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.
- Don't see your idea?