1190 results found
-
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 -
Point LinqPad AI helper to Ollama
Thanks for the AI helper! I'd like to see that helper
able to point to a model hosted by a local instance
of Ollama. Ollama can serve on localhost:11434, and
can accept/return JSON documents. Ollama would
take some additional work for a developer to set up,
but they'd have free and private queries.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 -
0 votes
-
Ctrl + E as alternative execute query shortcut
It would be great if the Ctrl+E SSMS shortcut would be enabled as an alternative to F5. It's easier to reach and makes sense (E for Execute).
0 votes -
Provide more information about thrown exceptions (dump message, stack trace, etc).
Provide more information about thrown exceptions (dump message, stack trace, etc).
0 votes -
Allow hitting Escape key to trigger 'cancel' like Shift-F5 does
Since hitting Esc doesn't seem to trigger any other action, it would be useful for those of us with muscle memory to hit it when we accidentally ran something we shouldn't have. Much faster/simpler than the 2-key combo of Shift-F5. :)
I'm not trying to ask for the larger-scope 'allow remapping keyboard shortcuts', just the Escape key. :)
0 votes -
Update the static driver sample code to detect Context properties of type IEnumerable<T>.
The UniversalStaticDriver class does not detect the properties of the customType parameter that are directly of type IEnumerable<T>. If the customType inherits IEnumerable<T> (like say via IList<T>) then the property is detected. But if the property is actually declared as IEnumerable<T> then it is passed over.
I changed the line that declared ienumerableOfT from:
let ienumerableOfT = prop.PropertyType.GetInterface ("System.Collections.Generic.IEnumerable`1") where ienumerableOfT != null
to
let ienumerableOfT = (prop.PropertyType.GetGenericTypeDefinition() == typeof(IEnumerable<>) ? prop.PropertyType : null) ?? prop.PropertyType.GetInterface("System.Collections.Generic.IEnumerable`1")
Kinda hacky, but it fixed the problem for me. Probably a better solution would be to recurse through the type and all inherited types…
0 votes
- Don't see your idea?