1197 results found
-
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 -
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 -
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 -
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 -
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
-
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 -
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 -
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 -
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 -
UI, usability (Restart, Results pane)
Minor suggestions or options,
1: restart button (Execute, Break, Cancel, Restart) & customizable shortcut for it.
2: results pane growing results backwards, the newest line(s) on top of the pane, this would help debugging and testing hardware (IoT:s) a lot.
I know, there is auto scroll option, but LIOT (last-in-on-top) would be nice.1 vote -
pre-allocate listbox storage for intellisense drop-down to improve performance
The intellisense dropdown uses the standard ListBox which calls SendMessage to the native listbox instance once for each new intellisense item. For many items, this can be incredibly slow.
However, it seems that listbox supports pre-allocation for memory when a large number of items will be added:https://docs.microsoft.com/en-us/windows/win32/controls/lb-initstorage
Making direct use of this API would enable performance improvements when a large number of intellisense items (up to 32k) are present - on my machine (32 core), a few thousand results in 10-30 seconds of delay every time a new intellisense dropdown opens, which is almost completely unusable. This fix could…
1 vote -
compile only in LINQPAD.Exe IDE
In LPRun.exe we have the ability to only compile the script with the
-compileonly switch.
It would be nice if we had the same in the GUI IDE.Thanks in advance.
6 votes -
Bug: Get Exception on Dump() Empty string if Dll Reference exists
Hi
I found an strange Exception eg. Bug in LinqPad.
Following Code works:
´´´
var e = foo();
e.Dump();
string foo() { return ""; }
´´´But if I add any Reference on *.dll over F4, "Additional References" and "Add/Browse"
I get on .Dump() following Exception:
"The type initializer for 'DumpExtensions' threw an exception."
inner Exception: The invoked member is not supported in a dynamic assembly.This stops the practical using of Dump() in my Code.
2 votes -
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!
6 votes -
Require auth like fingerprint/windows hello for production connections
Today we use read only connections for production databases and it works well. But everyone once in a while we do need to change a value in a production db.
Today we then connect with different credentials which takes a little time.My suggestion is a connection that linqpad enforces with fingerprint, windows hello or similar.
So the connection is always there (and read/write) but every time I want to use it I have to authenticate. This would still be much faster then creating new connection (and in the other scenario I also have to remember to disconnect manually but…3 votes
- Don't see your idea?