1205 results found
-
conditional caching and cache querying
If I want cross-execution (being able to F5, F5, F5) cache certain fetched web pages (only if they actually return a 200ish result). I can't make use of the existing very helpful cache method options.
I don't want a failed attempt to be cached, and I want to be able to cache all
successes.I'd like it if we could have the following signature off the existing Util class
T CacheIf<T>(string key, Func<T> f, Func<T,bool> predicate, byref<bool> fromCache)
also very usefulIsCached(string key)
.A work around would be to litter the code with throws and try/catch.
1 vote -
option to keep the dialog 'navigate to query' open
Can we have an option to keep the dialog "Navigate to query" open.
It usally takes a few tries before I find the query I am looking for and it would be great if I could tick a box to keep it open after I dbl clicked to see the query1 vote -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 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 -
Add Empty or Blank as option for "Style sheet for text (HTML) results"
There are some instances where I want to have more control of the HTML formatting in the results window. For example, I am testing generating some HTML emails and need a blank slate to see what it would look like. I would like the option to not have ANY of the default styles added to the results window. I can always copy the ones I need into the stylesheet editor. I hope this would be a simple feature to add :) A Util method to dump into a new Results window tab (like the data grid does) but with no…
1 vote -
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
-
RIGHT CLICK IN CONNECTIONS PANE
Add right-click to connections pane to
- Add folder
- Sort by name (root level)
- Sort All (root level then inside each folder)
- Health Check - to see if any items at root level or in folders has lost connectivity
1 vote -
Add Dump parameter that will exclude properties having a null value
There are many times that I'm using Linqpad to investigate sparsely populate objects, such as from a database row with 5/100 columns having a non-null value.
In these cases, my results pane is littered with uninteresting information.
I propose a feature allowing me to exclude rendering dump output for properties having a null value. For example: https://imgur.com/a/nkHqn47
1 vote -
Option for async Task Main() as default for C# Program
Since so many developers do async programming now, could you add an option for the default Main method of a C# Program to be "async Task Main()" instead of "void Main()"?
1 vote -
1 vote
-
DataType in Columnheader
It would be helpful, if datatype of based table-column is visible in datagrid.
1 vote
- Don't see your idea?