236 results found
-
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 -
3 votes
This is already allowed in LINQPad 5. Press F4, and in namespace imports, prefix the namespace with ‘static’. For example, “static System.Console”.
-
LINQPad 5 bug - can't use XmlSerializer
Use of XmlSerializer in LINQPad 5 is not possible. Serialization ends with "UserQuery is inaccessible due to its protection level. Only public types can be processed" exception. In V4 there is no problem.
1 voteThanks – this is now fixed in the new beta:
http://www.linqpad.net/download.aspx#beta5 -
Add C# 6 support
It would mean upgrading to 4.6, but that's not a bad idea anyways.
1 voteGo to www.linqpad.net/download.aspx and download LINQPad 5
-
Support for C# 6 Language Features
C# 6.0 is currently in Preview with Visual Studio 2015 preview. As I am starting to use the newest version of VS, I am exploring the behavior of the new language features, including the new nameof operator, string interpolation, the null conditional operator, index initializers, etc. I instinctively go to LINQPad to test something out including these but then realize it is not yet supported :(
37 votesLINQPad 5 with C# 6 and VB 14 language support has now been released.
-
Code formatting.
Code formatting from VS.
64 votesCompleted in LINQPad 5
-
Save/restore queries on close or manually
I'm a multitasker, and I usually have 7 or 8 (or 20) tabs open in LINQPad. When I need to restart my computer, or for whatever reason close LINQPad, I could to save each of my queries (coming up with a meaningful name for each), remember which ones I had open, and reopen them one by one when I restart, but I find it's quicker and easier to just kill LINQPad with Task Manager so that it will offer to reload all my tabs for me automatically. I would be nice if LINQPad had the option to save and restore…
397 votesThis is now available from V6.9.12 (in beta as of June 2020). It employs a new autosave engine that serializes all editor operations, so that the undo/redo stack is restored along with the query. You can choose to shelve queries upon exit, or by default in the Edit | Preferences dialog. A conflict-detection mechanism ensures that you can’t accidentally overwrite a query that’s been subsequently edited via cloud synchronization or another application. Enjoy!
-
Show the default namespaces and assembly references in the query properties
By default, LinqPad imports several namespaces (System, System.Linq...) and references several assemblies (System, System.Core...). This is fine in most cases, but sometimes I'd like to be able to remove some namespaces or references, and currently there's no way to do that. These default namespaces and assemblies should appear in the query properties so that they can be removed (it could be an option for users who don't want that)
35 votesIn LINQPad 6, you can now see all namespace imports in Query Properties, and remove default namespaces as required.
-
Make Ctrl D a duplicate line command
Use Ctrl D for duplicate: copy the line that the cursor is on to the line below. Currently it isn't doing anything as far as I can see.
67 votes -
Add a confirmation dialog before deleting a connection
I was attempting to refresh a connection in the connections list window and I accidentally deleted the connection. No confirmation dialog popped up, just woosh, connection gone.
Which is fine, I can just re-add it once I figure out the connection string details again ( I have a lot of connections in there).
Just a small annoyance. (Large annoyance for users with lots of connections)
1 voteCompleted for next beta.
-
Support writing unit tests
Allow us to create unit tests using NUnit or similar (either needs a new option in the Language dropdown or a one-liner you could put in your Main function to kick off a test runner). Running it would run all the Unit Test methods it finds. Taking this one step further, you could even support an auto-test mode, where every time you saved, if it compiles it runs all the unit tests it finds, making it the ideal for doing code katas in
69 votesLINQPad now has special xunit support as of 6.9.12, via new options on the Query menu. ‘Add XUnit Test Support’ adds the necessary dependencies + creates a customizable xunit runner. “Run Tests” (shortcut Alt+Shift+R) invokes the RunTests() method.
-
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
-
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
-
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 -
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 -
Disable automatic server connection
When Linqpad first starts, it automatically connects to every server you have added as a connection. Please add an option to disable this behavior and only make a connection after clicking on the server first.
27 votesGo to connection properties and in the database box, uncheck “Populate on startup”.
-
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.
-
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
-
Include other scripts
I'd like to factor out some code into a script I include because I use this code across scripts. I don't want to have to compiled to an assembly and reference it because then I can't "script" it anymore.
Please include an "include" syntax or GUI setup (which will then obviously manifest itself in the .linq XML prelude.)
141 votesThis is now available in LINQPad 6:
https://www.linqpad.net/LINQPad6.aspx -
Make Ctrl+W close current open document
It's faster than alt-F4, and works in many other applications with multiple tabs.
25 votes
- Don't see your idea?