1197 results found
-
Show elapsed time per executed line
While running through a script I can already see the yellow arrow jump from line to line at execution. It would be awesome to see how much time elapsed for each line after a run.
If this has too much of a performance impact it could be made toggleable. A similar feature that's already present in Visual Studio: Show the elapsed time between two breakpoints being hit.
Currently the only way to get this information (as far as I'm aware) is to add Stopwatches all over the code (C# Statements).
1 vote -
close single sql window - does not work
it actually increments number of sql windows.
context menu - close all does work but when i click on x to close single window - it increments the number
linqpad version: 8.2.4Host runtime version: 8.0.3
Default query runtime version: 8.0.3
Default query reference assembly version: 8.0.3
Roslyn Version: 4.8.0-7.23558.1
FSharp.Compiler.Service version: 43.8.101.0
NuGet client version: 6.7.1.1
Windows DevDrive Status: Unavailable
Results rendering engine: Edge Chromium Engine 123.0.2420.65 (WebView2)1 vote -
longer file history
i have a lot of scripts... it would be nice to make the file history tab longer.... maybe 30?
1 vote -
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 -
Claude AI
First and foremost, we are very happy with the software you provide. We use it in several of our projects (e.g., https://gegenfeld.com/tools as well as https://jntzn.com and https://jntzn.de/). However, we would like to suggest a Claude AI implementation as an alternative to ChatGPT/OpenAI, if that's possible. Keep up the good work!
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
- Don't see your idea?