236 results found
-
14 votes
This has been available since LINQPad 6 was released.
-
Enable code folding in the editor
I am using LINQPad as a general purpose C# scripting/code snippets IDE. Just introducing a code folding feature would tremendously improve the usability, especially in the "C# Program" mode.
12 votesThe latest build allows regions in ‘Program’ mode.
-
Add support for InternalsVisibleTo
Sometimes I want to create my Entity Framework model as internal, but also use it from LINQPad. It would be good if there was a way to do this without having to change all model items from internal to public, and then back again when I want to release my assembly.
12 votesAvailable from v4.44.4. Add [assembly:InternalsVisibleTo(“LINQPadQuery”)] in your assembly and enable the option in LINQPad’s preferences.
-
Dump to file
Instead of requiring excel or word installed on the client's machine, what the output could be dumped in csv format?
Copy/Pasting from the html output is not effective.
12 votesThere are now methods in LINQPad’s Util class to do this (ToCsvString, WriteCsv, ToHtmlString, CreateXthmlWriter, etc).
-
Limit of Graph
When executing a query with nested queries in it the result are limited to a depth of 2 levels. and the remaining levels are not displayed properly (instead a "Limit of Graph" error is displayed).
Would it be possible to increase this depth? Or are there other ways to achieve this with a minimum of code?
Here's an example of what I'm doing:
from level1 in Level1Table
…
select new {
Level1Obj = level1,
Children = (from level2 in level1.Level2Children
select new {
Level2Obj = level2,
Children = (from level3 in level2.Level3Children
select new {
Level3Obj = level3,
Children = level3.Level4Children})12 votesThis is now complete. In addition to the workarounds mentioned, recent versions of LINQPad display hyperlinks which allow expansion to any desired depth.
-
12 votes
-
Reference .NET Core csproj file directly like a NuGet package
I would like to be able to reference a .NET Core csproj file from LINQPad, similar to how NuGet references work. LINQPad could read the package references from the csproj file and add those NuGet packages, then it could locate the dll that is output by the csproj and add that as a reference. This would make testing changes made in a project with LINQPad extremely simple. Currently I have to package the project, move the package to a local NuGet feed, clear the LINQPad NuGet cache for that package, and readd the package reference in LINQPad.
12 votesThis functionality is supported in recent versions of LINQPad 6. Referencing the DLL in the output folder has the same effect as referencing the .csproj file: it automatically references all the NuGet packages that the project does (it gets these by parsing the .deps.json file). LINQPad will even restore the NuGet packages if the correct dependencies are not available for the target framework version.
-
hot.exit like visual studio code
Allow exiting the application without saving current queries and retaining them when linqpad is reopened
12 votesThis feature is available as of 6.9.12
-
Be able to set breakpoints in LinqPad
Be able to set breakpoints within the LinqPad IDE as well as perform a debugging session for the Linq Expressions in a manner similar to the Visual Studio IDE.
11 votesI’m marking this as complete because it was implemented as part of the debugger, back in 2014.
-
Be able to choose decompiler to use e.g. free dotpeek instead of pay 2 play reflector
I love the new Shift-F1 feature (launches .NET Reflector) ...really excellent idea, just one small issue... I don't have .NET reflector!
It would be really useful if I could select either dotpeek, or JustDecompile instead.
11 votesI’m marking this as complete, because LINQPad now includes a built-in ILSpy.
-
entity framework
Use Entity Framework code-first (generated) to access to existing DB instead of LINQ To SQL.
11 votesThis feature is available in LINQPad 6 – you can now choose between LINQ-to-SQL and Entity Framework Core.
-
add reflection support, so that I can explore assemblies and play with reflected code inside linqpad
Since a certain software vendor announced that a certain reflection tool is no longer going to be free, I'd love it if I were able to browse assemblies, just underneath database tree and expand an assembly and a method, see reflected code, and then be able to single click copy the code into linqpad code editor window so that I can explore the code "hands on", something that current reflection tools dont allow you to do.
10 votesI’m marking this as complete, because LINQPad now includes an integrated ILSpy.
-
Rectangular copy/cut/delete
I do read the blog posts of James Michael Hare (http://blackrabbitcoder.net) very frequently, along other blogposts.
Some of the examples i copy and past in Linqpad, so i can try them out.
Regrettably if you copy and paste the code all the lines start with linenumbers.
The VS2010 editor has in this respect a very handy feature, with the shift-alt key-combination one can select a rectangle and delte/copy/cut it.
So my request to you is, if you have the time ( :-), to build it into Linqpad.
Thnxs in advance!
Kind regards,
Henk
10 votesI’m marking this as complete because there’s nothing to do here, as far as I can see.
-
save as .sql files
When I edit a .sql file, if I click save, it prompts me to save as a .linq file. This is annoying as I like to use LinqPad instead of SSMS in nearly all cases and editing stored procs is one of them ;).
9 votes -
9 votes
Completed in latest build
-
Add support for output parameters for stored procedures
Some way to extract values from output parameters like:
int outValue;
int inValue = 100;
stored_procedure(inValue, out outValue);9 votesSee “What’sNew” for info on how this works.
-
odata 3.0 support
OData 3.0 Ctp is released and we are using it in our site. can linqpad please support it?
9 votesOData 3 support is available in latest beta: www.linqpad.net/beta.aspx
-
add a shelf or workbench for data being processed.
Often when I am working in LinqPad, I iterate to retrieve some large dataset via some (relatively) expensive operation - from a remote server or disk, or some calculations. Once retrieved, I continue to iterate my Linqpad query, performing different investigative operations on the data.
It would be great if linqpad had an API where I could 'shelve' the returned data, and access it in laters runs of the same query/session.
I could do this manually, by serializing to disk, but it would be great it if was built in.
An API with an IDictionary<string, object> interface would be all…
9 votesThis is now supported via the Cache method. Go to Help | What’s New and search for ‘caching’ for an example
-
Entity Framework 7 support
Add support for EF 7 from ASP.NET 5 projects
9 votesLINQPad supports EF7 from 5.06 onwards.
-
Provide support for Linq to ADO.Net Data Services using "Add Service Reference" equivalent
Adding EF support was MASSIVE. If you could add DataServices support as well it would be an AWESOME tool
8 votesThis is now available in the latest release.
- Don't see your idea?