1205 results found
-
Collapse Code: handle additional cases
In LinqPad we can use the +/- buttons in the UI to hide blocks of code; whole methods, ELSE blocks etc.
I would love to see this extended to the following:
- New Lists. I don't always want to see all the new items added to a new list, so seeing just
Options = new List<Thing>
is fine rather than
Options = new List<Thing> { new Thing(), new Thing(), ....... }
- Property Initialization. Similarly, I don't always want to see all the properties that are set during an object's initialization. So seeing it collapsed to
Person p = new()
is fine…
1 vote - New Lists. I don't always want to see all the new items added to a new list, so seeing just
-
Ctrl + S shortcut does not work when the explorer pange is too narrow.
When the Explorer View is too narrow (i.e. removed to occupy as less screen space as it is possible), I cannot save the code by pressing Ctrl + S. My LINQPad version is 7.4.9 (X64) for Windows. Please see the screen recording that shows the issue:
https://1drv.ms/v/s!Asp69p7IB51WkAFhnqj9vmUw72JS?e=2JvozE
Can this be fixed in the next version?
1 vote -
Add an option to enable .NET MAUI in a query
.NET MAUI is an optional workload starting .NET 6. Add an option to enable .NET MAUI in a query file to load supported libraries in those queries.
6 votes -
Add a keyboard shortcut to move / reorder tabs
Suggest Ctrl+Shift+PgUp/PgDn, as that seems a popular choice, both in browsers and Notepad++.
Thanks.
1 vote -
support .exe assembly references
I can add a reference to an assembly that's blah.exe but I can't consume types inside it. If I copy blah.exe to blah.dll everything's fine, but that would appear to be a dull and unnecessary (and forgettable) step.
If there's a valid reason why this can't be delivered then fine, I'll live with it, but - granted I know diddly-squat about LinqPad internals - it doesn't seem like it'd be hard to add.
3 votes -
Add a context menu command "Copy as new List<string>" to the grid context menu.
Similar to the RedGate SQL Prompt function "Copy as IN Clause".
To use this, you return results into the grid. Then select a range of values in one column and select "Copy as new List<string>" from the context menu. It then copies the C# code for creating a List<string> with those values to the clipboard. For example:
new List<string> {
"OMO-155165",
"PQJ-155177",
"ABI-155153",
"HCI-155167"
}3 votes -
Add "Export to JSON file" to result grid context menu.
I do a lot of messing around in LINQPad, and sometimes I get a result I want to process further... but I didn't remember to export the results in my script. I can use the 'Export to CSV file' or 'Export to HTML file' options to get the data out and hope that I don't need any collection contents, but then I have to parse the CSV back into an object list in the next script.
Could we please get an 'Export to JSON file' option that uses System.Tex.Json.JsonSerializer to create an export file? Indented formatting would be nice but…
2 votes -
Query limit hit -> prompt to clear & continue
When LINQPad hits a hard limit on output size, the query continues
execution but no longer renders .Dump() output.
The idea is to pause execution & add a 'clear output window' hyperlink to the "Limit of query" message to allow script to continue.This could be an option in case people dont want this behavior.
1 vote -
Provide a Menu option for Clearing the Results Window
The Results window gets cluttered as I debug my code, especially with the Dump results.
Please provide a menu option to clear out the Results pane.
1 vote -
Handle Implicit Usings when using #load
If using #load on a .NET 6 C# file that used implicit usings, LINQPad will complain when using anything from the implicit namespaces, such as saying that the type Action<> could not be found when System is implicit. It would be nice if LINQPad could handle implicit usings so if I #load such a file, it should function properly.
2 votes -
ScrollIntoView for LINQpad controls
For LINQPad controls : add a ScrollIntoView() function. This would cause the query window to scroll to wherever it landed on the Dump() output.
1 vote -
Define keyboard events for output window
I am a huge fan of the new ContinueButton().Dump().Wait approach found online
however when using it for something that enumerates a large list, it would be really nice to be able to attach a keyboard event to it in the output window so i don't necessarily have to click to trigger it.
1 vote -
Inline CSS for LINQpad controls
As it stands you need to define a style using Util.HtmlHead.AddStyles
I would love to be able to say:
new Button("Do Something", ...) { CssStyle = "margin-left: 5px;" };1 vote -
Expose CWD of LinqPad as `Util.HostCurrentDirectory`
This would allow to start LinqPAD in a specific working directory and allow a script to do some work in there.
1 vote -
Using EF typed data context from assembly without Dbset
In most of the projects that I work on, we don't usually set DbSet<T> properties inside the DbContext and we rely on the IEntityTypeConfiguration<T> to set the names of the tables.
It would be a great idea to support dynamic dbsets without the need for setting the dbset for each entity that I need to use in LINQPad
1 vote -
Add a "relative line number" option in vi mode settings
The VsVim Visual Studio extension honours the "set relativenumber" instruction in _vimrc. It causes the current line to show the absolute line number, and all other lines are numbered relative to it.
3
2
1
584 // TODO: Removing this line breaks the app. We don't know why...
1
2
3Something similar in LINQPad would be a lovely tweak!
7 votes -
Scroll through open tabs with the mouse wheel
When there are many tabs open, they overflow and one must use the arrow buttons to view the hidden ones, which is a tedious and time-consuming process.
When the mouse is hovered the scroll bar, the mouse wheel should scroll through the visible tabs, just as the arrows do now.
I use this feature very heavily in the programs that support it (e.g. Visual Studio, Sublime Text, Firefox, etc.), and it makes finding the tab I need a way faster and easier process than repeatedly clicking the left and right buttons until the desired tab comes into view. It would…
1 vote -
Add "jk" to escape in vi mode.
LINQPad only supports "kj" for now..
3 votes -
3 votes
-
Improvements for running LinqPad from RD client on iPad with Magic keyboard
I mostly use Linqpad from iPad, connected to my Windows laptop using MS Remote Desktop on iPad. (RD Client)
I have a Ipad magic keyboard and works really well, but there are a few issues that is a bit enoying with LinqPad
There is no button in Linqpad for zooming the editor and it does not work using the keyboard. and as I use different zoom values on laptop and ipad this means I have to go to my laptop to change the zoom.
The ipad does not have F-keys so I need to remap these on windows and this…
1 vote
- Don't see your idea?