237 results found
-
Sharing code across LINQPad queries
At present, the only way to share code across LINQPad queries is to put them in "My Extensions" but this causes the code to be available to ALL queries, and it would be good if this could be specified on a more granular basis, where the code is shared with only a subset of queries.
For example, in my queries folder, if I'm working on ACME API, I'll have a folder called "ACME API" with separate files for whatever I'm working with - eg. get-user.linq, add-product.linq.
It would be good if I could create a file called common.linq (or something…
35 votesThis is now available in LINQPad 6:
https://www.linqpad.net/LINQPad6.aspx -
OData v4 Support
Version 4 of OData is released and supported by Web API. (And since WCF Data Services is dead, Web API OData is all we are going to get.)
Please consider support for version 4 OData endpoints.
415 votes -
Defer loading of Lazy<T> types in Results View
Don't evaluate Lazy<T>.Value in Results view. Allow it to be loaded by user interaction.
3 votesDone in latest beta. www.linqpad.net/beta.aspx
-
Fully support EF6 and ObjectContext
We recently upgraded a project 5 to EF6 and while linqpad "works" there are a number of issues.
1; When displaying a Query all navigation properties are loaded even if LazyLoadingEnabled is set to false (the "...Reference" properties are displayed)
2; It is impossible to expand a Connection (upper left window)
3; No filtering is performed for properties displayed in the results so the output becomes huge with whole screens of EntityReferences and AssosicationSets (EntityKeys are also displayed)Most if not all of theses issues should be quite easily fixable by updating any special logic for ObjectContext to include the…
14 votesAll recent versions of EF and EF Core have been well-supported in LINQPad 5 and 6 for some time.
-
Cancel long running Dump() rendering
sometimes the linq query can be quite quick, but the rendering of the Dump() command can still take some minutes if the object graph is large and/or detailed and/or complex.
During the rendering stage the user is forced to wait for completion.
It would be good to be able to cancel (via the cancel button) not only the query execution but also the thread which renders the result set to the screen.6 votesLINQPad now trims large object graphs automatically from v4.50.02
-
Change connection tree to show SQL types when in SQL mode
When I am editing an SQL query it is often useful to know specific information about the fields in a table as they exist in the database, rather than the fields and types that are relevant for C#.
Currently the treeview shows (potentially modified) names, .NET types and additional fields for associations. The original object name and SQL data type is available by hovering over the entities in the treeview.
When working on an SQL query it is more useful to have the unmodified database objects and types visible in the treeview.
0 votes -
ByRef type should be dumped like typeof(T&)
The below code...
new [] {
Type.GetType("System.Int32[]"),
Type.GetType("System.Int32*"),
Type.GetType("System.Int32&"),
}.Dump();...dumps [ Type[] (3 items) ] with:
typeof(Int32[])
typeof(Int32*)
typeof(Int32)
(each element is hyperlinked)In this result, the last element "typeof(Int32)" should be dumped as "typeof(Int32&)".
I think this is a bug and should be fixed.0 votes -
Persist setting for "Auto Scroll Results to End" between sessions
Either my memory is faulty, or one of the later versions of LINQPad has introduced a bug.
The "Auto Scroll Results to End" setting on the Query menu, it would be really nice if checking that, exiting LINQPad, restarting LINQPad, would maintain the old setting.
In version 4.47.05, this setting resets back to unchecked every time I start LINQPad.
I think this used to persist between sessions before.
3 votesThis has been fixed in the latest beta.
-
Let me close without asking if I want to save
I use LinqPad almost entirely for one-off, throwaway queries -- for example, I'll use one of our utility classes to do a quick calculation. When I close LinqPad, the "do you want to save?" prompt is a pointless annoyance.
It would be much nicer if LINQPad followed the model of how Web browsers save and restore tabs.
Never prompt me to save; just autosave my documents to a temp location and then exit.
Next time I open, give me an unobtrusive way to see my old queries and reopen them if I wish; but if I'd rather just start a…
38 votesThis is a duplicate of http://linqpad.uservoice.com/forums/18302-linqpad-feature-suggestions/suggestions/2418780-save-restore-queries-on-close-or-manually and has been implemented for some time in LINQPad 6.
-
enable distinct hyperlinq
given a list like this
new List<int>{1,1, 2}.Select (x =>
new {
hyper=new Hyperlinq("http://" + x.ToString()),
x} ).Distinct().Dump();the result should be a distinct list of hyperlinks, but distinct doesn't work as expected when hyperlinq is present.
3 votes -
Detect file changes
I love LINQPad, but I really, really wish it noticed if the files changed on disk while they were being edited. Currently the application will overwrite a changed file on disk when it has been modified by another editor. There are two scenarios where this happens, one is when the file is under version control and I have reverted it to an older version or otherwise changed it using some version control function and the other is when I have used some other editor to edit the file (such as SlickEdit or Visual Studio, both of which detect if LINQPad…
20 votesThis is supported in the latest LINQPad 5 beta (as of June 2019) and in LINQPad 6.
-
Add display name for connection
Would be nice to have a option to give a name to a connection, as we have many connections going through IP and not host names
3 votesRight-click the connection and choose ‘Rename’
-
Make Ctrl+W close current open document
It's faster than alt-F4, and works in many other applications with multiple tabs.
25 votes -
"Save As Snippet" saves code with it.
It would be cool if in the Save As dialog we could save as .Snippet files. Also it would be nice to open .snippet files from Linqpad so we could edit them if needed.
See Joe A's answer here for background:
http://forums.oreilly.com/topic/20980-how-to-you-create-a-snippet/"LINQPad saves just the references and namespace imports into the snippet file. I guess it should also allow you to save the query text - that would be quite useful!"
Thanks!
8 votes -
Make possible to comment/uncomment code
in Visual Studio you have the ability to comment/uncomment code sections. I use this very often to test code sections.
1 voteThis feature has been available for a while. Same shortcut keys as in VS.
-
Select / highlight text in the rich text results pane on double click.
I keep double clicking on text in the results pane when viewing results in the rich text format and expect the string to be selected.
Instead it's somewhat unintuitive and requires a click and drag, which take a fair bit longer if I'm only after the text in a single cell.
67 votesThis works in LINQPad 6+ with the Chromium engine selected (the default from LINQPad 7).
-
Add basic authentication support for custom nuget sources
When you have a self hosted feed or a private feed on myget, its typically secured by basic authentication. Would be great if you could add support for this when adding new feeds in the Nuget Settings dialog. Current behavior is that it throws an unauthorized error from Nuget.Core
116 votesNow available in latest LINQPad 5 release: http://www.linqpad.net/download.aspx#beta5
-
Hot exit functionality for open (and unsaved) editor tabs
Add an option to restore the open editor tabs (session) on restart of the application again. Especially the unsaved editor tabs. This is a really handy feature of e.g. Sublime 2 and helps to avoid unnecessary file bloat for not so important scratches worked on in LINQPad.
36 votesThis feature is available from 6.9.12
-
Allow users to disable or change the upload to instant share hotkey.
Many code editors use Ctrl-Shift-U to toggle the case of selected text to upper case.
25 votesThe hotkey can now be disabled from the Upload window in the latest LINQPad 5 beta.
-
Support versioning of Nuget Packages
It would be great to have the ability to choose a version other than the latest version of a Nuget package. Oftentimes, we find that latest versions of packages can break functionality or we are just not ready to move to latest version of package yet and we are not in control of the Nuget package itself.
I would like to be able to add Nuget reference and optionally supply a specific version string (it can be manual entry and not a list).
23 votesNuGet versioning is now supported in the latest beta: www.linqpad.net/beta.aspx
- Don't see your idea?