1203 results found
-
Fix a bug where custom LinqPad drivers cannot be found on Nexus and Azure DevOps NuGet feeds
Hi,
I have written a custom linqpad driver and published it to our internal NuGet feed.
In the past there were no problems installing this driver.After updating out Nexus OSS server to the latest version, the driver cannot be found anymore.
I get the same behaviour on our Azure DevOps Feed.So I did some debugging and found out, that the filtering of the tags is pretty weird across the existing NuGet servers.
When searching for custom drivers, LinqPad creates the following url:
...v3/query/beta?q=tags:linqpaddriver%20&skip=0&take=40&prerelease=false&semVerLevel=2.0.0
The filtering is applied via "tags:linqpaddriver%20"Here my problems begin...
The nexus server does not…4 votes -
Allow enumerating or traversing the differences returned by the Util.Dif
The result of Util.Dif can currently (v 8.6.6) be only checked as whole by the "IsSame" property, or dumped in the output window.
It would be useful to be able to traverse the differences programmatically.
The diff tree already exists and is visible in Debugger view, but all the classes are internal and not easily accessible.
3 votes -
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 -
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 -
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 -
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 -
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 -
Word-wrap keyboard toggle command
Add shortcut for enabling/disabling word wrap to match Visual Studio Code's Alt+Z toggle word-wrap command.
3 votes -
Add shelve tabs feature to LINQPad 5
Shelving tabs is such a great feature that I now take it for granted in things like Notepad++, Redgate SQL Prompt, and of course LINQpad 6+. It would be fantastic to backport that feature in LINQPad 5 for the many of us stuck on .NET Framework for one reason or another.
I understand LINQPad 5 can't get all the latest and greatest, but I would consider this a foundational feature for a scratch pad-type app where you want to get in, test some code, and get out quickly without wasting time thinking about files.
3 votes -
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 -
Console output should support ANSI escape sequences
When using Console.Write/WriteLine, the output written to the console should support ANSI escape sequences, especially colors.
https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
3 votes -
Allow theme to sync with system
In Windows 11 (maybe others too) you can change the system theme and programs (and even websites!) that have their theme set to "sync with system" will change accordingly.
Make LINQpad switch between the light and dark theme depending on what the windows theme is set to.
3 votes -
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 -
Add intellisense for Util.GetPassword that would suggest the names of passwords available in the password manager
When i type Util.GetPassword(" and press Ctrl+Space it would be great to show all the available entry names in Password Manager.
It would be a very nice QoL feature similar to the @"path" case.3 votes -
Save conversation with AI Assistant as Markdown file
Conversations with AI Assistant can be very useful. I want to save the whole conversation as Markdown file which is a native format of Assistant's responses. Copying individual sections is tedious, would be good to have a button to save all conversation in default location with suggested file name.
7 votes -
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 -
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 -
minimap
The minimap provides an overview of the entire file, allowing you to quickly navigate and understand the structure of the code by giving a compressed representation of the document. This feature is particularly useful for large files, as it helps to see the overall layout and quickly jump to different sections of the code.
Visual Studio Code has this feature.3 votes -
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 -
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
- Don't see your idea?