1215 results found
-
Custom Aggregates in Dump override
Possibility to add custom aggregates like sum, average over custom types for the Dump method.
Currently you get a sum/average underneath columns containing int's etc. (except if they are formatted through ToDump).
It would be nice to do something similar as ToDump for custom types, and or types like TimeSpans, Dates, etc.
3 votes -
Provide way to set resiliency options
With SQL Azure in general and now specifically with the new serverless option it would be great to be able to enable the various ADO.NET and EF Core resiliency options so that you do not get a timeout on startup or when there is a transient failure. Both are just settings for number of times to retry, the retry interval, etc.
For EF Core with SQL you can use something like
optionsBuilder.UseSqlServer(cstr,
sqlServerOptionsAction: sqlOptions =>
{
sqlOptions.EnableRetryOnFailure(
maxRetryCount: 18,
maxRetryDelay: TimeSpan.FromSeconds(5),
errorNumbersToAdd: null);
})In ADO.NET you can do it in the connection string parameters
ConnectRetryCount=18;ConnectRetryInterval=5;Timeout=90
Thank you
3 votes -
Add previous C# versions in samples for "What's New in C# X"
In the Samples tab, add previous C# version samples. For example:
What's New in C# 7.3, 7.2, 7.1
What's New in C# 6.0
etc...Many times, I reference your samples to help 'jog my memory' for syntax and when/where C# language features were introduced.
7 votes -
Favorites queries tab and search
It would be useful to have a tab before "My queries" with the preferred queries to get a link to start them quickly, also visible in the search query, to simply find the correct script.
We have thousands of queries in 8 years that we use LINQPad.
1 vote -
Cannot see views in LINQPad vesion 6, only tables
I just upgraded to LINQPad 6, and I cannot see the views from my database, only the tables.
I am connecting to a MySQL database.
I was able to see the views in LINQPad 5 just before the upgrade.
Thanks.1 vote -
Auto-update at time of install
When installing LINQPad (6), it would be good for the installer to, either during or post, run a hidden instance that preforms the auto-update.
For those of us who package it in SCCM, this would be of significant benefit.
4 votes -
Edit appsettings.json directly in query properties window in LINQPad 6
It would be nice to be able to edit the appsettings.json file, directly from the query properties windows (F4), comparable to the app.config editor in LINQPad 5/4
7 votes -
Strike through Obsolete Properties when Dumping
When dumping objects it would be nice to see which properties are marked as Obsolete by striking through them.
1 vote -
Timestamp on SQL tab
Display a timestamp for each SQL statement on the SQL tab so that the user can see when and how long between each command was executed.
3 votes -
Add a tools menu or function to send the current file or query including row and column location of the cursor. I do this all the time with
Add a tools menu or function to send the current file or query including row and column location of the cursor to an editor.
1 vote -
Change the crash recovery implementation
Some Windows updates wipe out a recovery file.
1 vote -
LinqPad 6 - #load only in the file where it is needed
I love the new feature where you can load other linqpad files with the #load directive this makes my linqpad file way more reusable and modular, however...
When I have 3 files where file 1 includes file 2 and file 2 includes file 3 then file 1 also have to include file 3 even when not using any functionality from file 3 in file 1.
It would be great if file 1 does not have to include file 3.
2 votes -
There appears to be no way of including multiple resource dll's. E.g. one can refer to x.dll and only one x.resources.dll.
Put resource dll's into subdirectories, similar to where they were originally: e.g., .\ja-JP\x.resources.dll; .zh-CHS\x.resources.dll, etc.
1 vote -
Show IL Code Description not just as Tooltip but optionally behind the IL code in each line
Show IL Code Description not just as Tooltip but optionally behind the IL code in each line
2 votes -
app.config custom path - provide for relative references
allow for relative reference to a config file.... something like.....
[QueryPath]\app.config
and/or
currently if no path info is supplied (just file name) the LP app assumes the file location to be the folder of LP.... maybe look in query path folder first?
This would allow for more portability of scripts... might be able to just package up the folder... relative references will allow things to run on the other end without having to make path tweaks.
1 vote -
SelectBox selectedIndexes ctor overload
Since a SelectBox can have multiple selections, it would be useful to have a constructor overload which takes in a List<int> to specify multiple SelectedIndexes.
1 vote -
Compiler error CS0570 - referenced .NET Standard assembly method returns value tuple
For example, trying to use the following method defined in a .NET Standard assembly:
public static (object o, string objectName, string category)[] GetTestObjects() => ...
3 votes -
outline code in the top of the query editor in a dropdown
in visual studio when A file is opened in the top of the window for the current file there's a dropdown that you can easily navigate into functions / procedures / etc, like a outline of your current file
anyhow, in linqpad the unique dropdowns are to code (C#, VBNET, …) - that In my case I just use C# or sql and another one for connection -> both I believe that are useful - but I don't even use/change in most scripts
so having a 3rd one (since connections takes a lot of space - or choose between connections…3 votes -
Auto scroll doesnt work with a changing DumpContainer
Updating content of a DumpContainer doesn't trigger an auto scroll.
Run this code in c# statements or c# program mode:
Util.AutoScrollResults = true; var container = new DumpContainer().Dump(); var builder = new StringBuilder(); while (true) { container.Content = builder .AppendLine($"{DateTime.Now:fff}") .ToString(); Thread.Sleep(150); }
3 votes -
Command to insert a new GUID into query text
Add editor command to insert a new GUID into the query text.
The current workaround requires opening another tab and running Guid.NewGuid() command there, then copy-pasting back to original query.4 votes
- Don't see your idea?