1192 results found
-
Assembly load latency warning enhancement
When I start LINQPad, I see a warning about assembly load times, suggesting that virus scanners are usually to blame.
This is a great feature that reveals otherwise hidden performance pitfalls. I would suggest that the message continue with one or two sentences about possible resolutions.
For example, virus scanners often allow a directory to be excluded from real-time scanning. Which directories might be added to improve assembly load times?
The software might also suggest searching online for higher-performance virus scanners, without recommending any in particular.1 vote -
run standalone via command line args
I’m aware that there is a suggestions to create an EXE, but in leu of that feature. Can we get the ability to pass a command line argument to Linqpad.exe have it run and only show the results window. If any of the nuget packages or linked files are not found, throw an error message.
I'm assuming this would not be a hard lift since there is a second window option already, which is essentially what I’m asking for minus toolbar. I think this could also open the door to someone to package everything into an Exe, maybe a manifest…
1 vote -
display colums in alphabetical order
I would like to have my "display colums in alphabetical order back" in the right button quick menu. Now it is only possible for the whole connection, which is frankly a pain... Is this an unintended regression, or are other limitations at play ?
Anyway, keep up the great work,
cheers Bart1 vote -
DumpAsync
It would be great if the following extension methods could be built-in to LINQPad. Currently I have them in my personal extensions, but it prevents me from sharing LINQPad scripts with colleagues without adding them directly into the scripts before sending them.
Thanks for the amazing product!!
…public static async Task<T> DumpAsync<T>(this Task<T> task) => (await task).Dump(); public static async Task<T> DumpAsync<T>(this Task<T> task, string description) => (await task).Dump(description); public static async Task<T> DumpAsync<T>(this Task<T> task, int depth) => (await task).Dump(depth); public static async Task<T> DumpAsync<T>(this Task<T> task, string description, int depth) => (await task).Dump(description, depth); public static async Task<T>1 vote -
Elegantly catch connection errors when a connection on a machine does not exist
When I open a script file on a different machine (synchronizing the LINQPad Query folder using OneDrive), and the other machine does not have the same database servers and connections available, I need to push a lot of error dialog screens away (I use Npgsql tot connect tot PostgreSQL databases). It would be wonderful if an elegant way of letting know the connection could not be established was created, like colorizing the connection toolbar button. I guess this issue relates to 'Disable automatic server connection', however on the primary development machine I do want the connection to populate.
1 vote -
Keep the working directories consistent between versions.
Some organizations have Carbon Black to monitor and block unauthorized code execution. I had previously whitelisted the intermediate directories for LinqPad, but the newest version uses different directories so everything needed to be whitelisted again. The people who configure these monitors aren't always the brightest or most responsive to requests, so it would be best to keep the paths consistent, so they don't need to be reconfigured for each future version.
1 vote -
Have a Uri be clickable in Dump(), also when an individual object is dumped
I defined a class that contains a Uri as a property (see below)
When I Dump() a list of objects of this class, the Uri is clickable and the browser directly runs the internet browser and directs it to the desired site. When I Dump() an individual object, the link is shown as a string and not clickable. I would like to have it vclickable as well.
Sample property definition code:
…public Uri? ProjectItemLink { get { Uri? result = null; if (_project != null) { result = new Uri( _project.Server + "/" + _project.Command + "/" + Key );1 vote -
Bug fix: prop <tab> <tab> shortcut only works on the first property of a class
How to reproduce: New query, C# Program. Below Main() create a new class public class test. After the open {, type prop <tab>. You will see public int MyProperty { get; set; } as expected. Go the the end of the line and press return. On the new line, type prop <tab>. You will see PropertyAttributes in error. As a test, Visual Studio 2022 performs correctly. This shortcut is very helpful when adding many properties to a class.
1 vote -
Have an option for drop to clear current query text
Suppose you start with a new query, then you can expand a database connection it will show you the tables and you can drag a table name into the current query window and it allows you to quickly run and see the contents of the table.
But if you drag another table into the same query window it inserts the table name roughly where the drop occurs.
It would be nice if there was a way of replacing the current text which would allow you to run the query and see the contents of that table.
Perhaps this could be…
1 vote -
In AI helper, have a "Save Prompt to Clipboard" selection
In the AI Helper, "Save as Prompt" saves a JSON object to a file.
I'd also like to see "Save Prompt to Clipboard", and have the
prompt converted into a fully-expanded body of text generated
into the clipboard, ready to ctrl-V into the window of an interactive
(non-API) LLM session. Thanks very much for this new AI feature!1 vote -
Show line-numbers on results area.
If you are working with remote people sharing screen it is helpful to indicate others where to put attention without describe a full line information.
1 vote -
Add dump customization via Visitor pattern
Atm customization for Dump is highly restrictive and only works on customizing top level object. Converting it to Expando is next to useless for heirarchial objects as it results in significant loss of functionality (empty lists are rendered as objects with Count/Length property vs "(0 items)" string as in default Dump version, sub-objects don't get properly rendered.
What might be much better from customization point of view is ability to customize Dump via a visitor pattern. For each property (node) in object graph, you would get a "VisitMember" callback with it's property type and value. At that point you decide…
1 vote -
Allow linqpad.exe to be referenced from VS again
Messages from the past suggest that it is possible to add linqpad executable as an assembly reference to Visual Studio projects and use it to generate HTML output of the wonderful Dump() method. This is not possible anymore, based on my attempts with VS 2022 running on Windows 10. I would gladly pay, or pay extra to be able to do this, but having it back as part of the standard paid distribution would be a much welcome improvement.
1 vote -
Add a Zoom percentage dropdown to the editor window, similar to Visual Studio.
Add a Zoom percentage dropdown to the editor window, similar to Visual Studio.
1 vote -
Back and Forward buttons
Back and Forward buttons just like in VS and Rider. It makes it so much easier to navigate back and forth in the code.
1 vote -
dark mode
Dark mode in MacOS v8.103.1 works, but the entire UI flashes different shades of grey with the cursor blink. - makes it unusable for me.
1 vote -
Enable HierarchyId type option for type data context
LINQPad supports the HierarchyId type for automatically built data contexts. However, a typed context from an own assembly does not have this option. It can be addressed by overriding the OnConfiguring-method and doing this manually. However, this still renders the expand feature in the connections-tree uselses.
1 vote -
dump as c# class initialisation
A new dump method that could dump as a C# class initialisation, eg
new Foo() {
MyProp = 27,
MyString = "a string"
},
new Foo() {
MyProp = 39,
MyString = "another string"
}etc
1 vote -
winget
Would it be possible to remove the winget dependency on the sdk? I have dotnet 9 SDK installed, but the dependency forced an install of the dotnet 8 SDK. I realize I could use
--skip-dependencies, but I typically do awinget upgrade --alland forget to add it.1 vote -
Praise from Claude Sonnet 3.7
The way LinqPad handles containers and UI updates works really well for this type of admin tool. The separation of different UI sections makes the workflow intuitive:
Enter a user ID and find the user
See the current permissions
Make your changes
Save and see the resultsThis approach could easily be adapted for other administrative tasks like:
Managing user roles
Configuring application settings
Reviewing and approving content
Batch processing operationsIt's impressive how much functionality LinqPad offers for creating quick utility tools like this. You get a lot of the benefits of a full GUI application without the overhead…
1 vote
- Don't see your idea?