1205 results found
-
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 -
mark@theDietsch.com
VB.Net editor - Allow the line continuation to allow the AndAlso \ OrElse to start on the next line.
I like to start on a new line when entering a new condition in my where statements and it would be nice if we could put the And\Or statements at the first of the line...
Where x=1
AndAlso y=3instead of:
Where x=1 AndAlso
y=33 votes -
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 -
0 votes
-
Developing a version of LINQPad for macOS
With the evolution of .NET to support cross-platform development, enabling developers to build and run applications across Windows, Linux, and macOS, I believe now is an opportune time to consider developing a version of LINQPad for macOS.
4 votes -
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 -
longer file history
i have a lot of scripts... it would be nice to make the file history tab longer.... maybe 30?
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 -
Adding support for "Referencing other .linq files" in Linqpad 5
It would be great to add "#load" functionality to LINQPad 5 , which is currently only available in LINQPad 6 and later versions.
3 votes -
Add support for the automatic code formatter `csharpier`
I have gotten used to my code editors having automatic code formatting via prettier and csharpier in VSCode, Visual Studio, and Rider. When I use linqpad, I find myself spending a bunch of time formatting code to make it easier to read. I would love to be able to enable
csharpier
to run on save in linqpad.They have a public API which is documented here: https://csharpier.com/docs/API
Thanks for making my favorite tool LINQPad! 🧡
3 votes -
Add a filter feature for stored procedures and tables etc.
Allow the user to be able to select filter parameters when trying to search for or find tables or stored procedures in the connection panel.
0 votes -
Add quote autocompletion to other autocompletion functions
When I'm writing code and need to define a string, I find it quite discomforting that I have to type two quotes. This is because many current IDEs and editors automatically complete double and single quotes. When I define a string, I only need to type one quote and the other is automatically filled in.
The summary of functions is as follows.:
1. Automatically complete double and single quotation marks. When you input a quotation mark, it will automatically add the matching one after the cursor position. Pressing the tab key inside the quotation marks allows you to exit them.…3 votes -
Add "Folder mapping"
When working from multiple locations, the folder structure often does not match. Currently, when libraries are referenced from the file system, the location is an absolute path. There could be multiple approaches to addressing this. The most user-friendly would be to have a set of "roots" on the machine and project level (a dictionary of names to paths). Query level would override the machine level. These could be also read from within the query using a utility method also, and editable from the UI. When a library is opened from such a mapped path, it would be stored relative to…
3 votes -
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 -
Support GeneratedRegex
Hi Joseph. You may already do this, but can LinqPad support .Net Regular Expression Source Generators?
https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-source-generators
I'm interested in the Regex side of things, ge.g
[GeneratedRegex("abc|def", RegexOptions.IgnoreCase, "en-US")] private static partial Regex AbcOrDefGeneratedRegex(); private static void EvaluateText(string text) { if (AbcOrDefGeneratedRegex().IsMatch(text)) { // Take action with matching text } }
3 votes -
Excel File Integration with Intelligent Structure Recognition
I frequently utilize Linqpad for processing Excel files by reading data through the FileInto method. My workflow typically involves manipulating this data and subsequently storing it in a database. To streamline this process, I propose an enhancement to the user experience with the following capabilities:
Keyboard Shortcut for File Selection: Implement a shortcut key that prompts the user to select an Excel file. This would enable quick and direct access to data files without navigating through menus.
Automatic Structure Discovery: Upon file selection, Linqpad could automatically analyze and ascertain the basic structure of the Excel file. This functionality should include:
…
3 votes -
Displaying custom EF property <summary> doc in the results view then hovering over title bar.
LinqPad is great! I use it nearly every day.
One single thing I'm missing is displaying my custom EF property <summary> docs in the results view then hovering over title bar.
3 votes -
Add option to close results rather than just hide results tab
Despite using LinqPad nearly every day, I can never seem to remember that the X at the top right of results tab means hide and does NOT mean "close results and free up memory". And yes I know the tooltip says 'Hide Results' and not 'Close Results' , but this never seems to stick in my memory.
Can't think of a single time when I have used the Ctrl-R Show Results option.
Would be possible, either to have another button to close, or an option to configure what the X button does?
1 vote -
Add ability to undo accidental language switch.
During rapid prototyping, I have been using CTRL+- to navigate to previous location in my C# code. However, once in awhile I accidentally hit CTRL+0 instead, which seems to switch to F# program. This results in destructively modifying the entire source file, which cannot be undone. Even if you manually switch back to C# program, the code is still broken. At this point the only choice is to restore the file from backup or hand-edit back to corrected for the language switch.
It really should be possible to simply hit 'Undo' and it should restore the file as it was…
3 votes
- Don't see your idea?