1185 results found
-
Filter Dump output using lambda or name list
I often use LinqPad and dump to explore existing data structures that I need to extract data from or reformat.
Many times these structures contain many irrelevant properties and children.
I have often wished for a way to eliminate these from the displayed tree to make the output more readable.
For example, in a parser tree there is often positional information and also many times the original source for the current element.
This takes very much space in the output making it very hard to follow.
If I could supply dump with a lambda that accepted the property name and…
6 votes -
MyExtensions folder (multiple queries). Alternatively: support query to query reference.
LINQPad is growing within my organization.Domain experts are becoming seasoned programmers. However, several projects have started getting very large communal "MyExtensions". This is facing the normal problem of readability, volatility/stability, concurrent work and versioning. It is also an opportunity lost to teach good separation of concerns.
It would be very helpful (and educational) if MyExtensions could be separated into several files, each of which would be "C# program" and concatenated (minus the main() method) in the pre-build step.
Alternatively, it would be even better if a query could reference another query in the same fashion that all queries now refers…
6 votes -
Object Browser
Include a window that allows you to search through the assemblies (classes, methods and properties) like the object browser in Visual Studio
6 votes -
Allow to set some lines to use Util.Cache
Util.Cache is very useful when iteratively running the same code, but switching back and forth between
var x = somecalculation
and
var x = Util.Cache(() => somecalculation,"x")
can be a bitt painfulIt would be nice if one could set a given line to be "expensive", so that it appears as a simple line in LinqPad, but behind the scenes, that line is using Util.Cache.
Alternatively, some directive could be put on that line as a comment by the user, to achieve the same result.
The implementation should not be too tricky, just some regex to apply before compilation.
The…
6 votes -
Provide a C# REPL mode
The idea is that there would be a mode where it is easy to execute single lines or blocks of codes, and all the variables from the main scope would automatically be available in subsequent runs.
The implementation is probably far from trivial, but one naive idea is to identify where variables are initialized and set, and have that mirrored as Get/SetData in the appdomain before compilation.
So for instance, if I have the following lines
var x = 1;
var y = x + 1;Then running the first line would execute something like this
var x = 1;…
6 votes -
DumpLatest - highligh differences after dump refresh.
Add to DumpLatest option similar to what 'watch' command does with flag '--differences'.
This would allow nice&easy visual monitoring of changes in any data.
I use for example code like this to visually monitor changes in DB:
Observable.Interval( System.TimeSpan.FromSeconds(2) )
.Select(x => this.GetSomeDBTable )
.DumpLatest();Having any changes in dump output highlighted with for example yellow background would be nice.
6 votes -
Add more code formatting options to LINQPad 5
It's great we can control where braces go (on their own lines of course), but needs option for spaces inside non-empty parentheses etc. Auto-formatting is awesome (and I don't want to turn it off), but removing my spaces is just rude :)
6 votes -
Add "Cancel All Threads and Reset" to query toolbar
Consider adding another toolbar item for the Cancel All Threads and Reset (Ctrl+Shift+F5) menu option to the query toolbar. Hidden in the menu, it wasn't obvious that this existed, or what it was for. I've been closing LinqPad and re-launching regularly because I didn't realize this option existed.
User error? Yes. But a toolbar button would be helpful for others like me.
6 votes -
I need larger fonts everywhere. I do not believe that LinqPad conforms to the usability requirements of ISO 9241 for ergonomic requirements.
The editor font can be changed, but that is not good enough. Not everybody needs larger fonts but everybody will need them eventually. I have a forty dollar editor that lets me change the font everywhere, including the tree controls and menus (which is why I use it). Surely you have the chops to match a text editor. I just cannot keep this upgrade unless I can read the screen without a headache.
6 votes -
OData3: Operation descriptors behavior is different than in Visual Studio 2013 when creating an entity
When you create a new entity using an OData v3 connection and then call this.SaveChanges(), it saves the entity and its state is set to Unchanged. Then, calling this.GetOperationDescriptor(myEntity).OperationDescriptors returns 0 elements, but calling the same code using a Service Reference in VS2013 does return all the operation descriptors. It would be nice if LINQPad couild have the same behaviors because, looking at the response in Fiddler, the links are returned in the response but they are just ignored.
6 votes -
Have a version of LINQPad with a notebook UI ala IPythonNotebook
I'd really love a version of LINQPad along the lines of IPythonNotebook or Mathematica. Ideally it would be hosted in the cloud. I'd use such a thing from every one of my computers all day every day and would happily pay a monthly subscription for the privilege.
6 votes -
For portable installs, allow `resultstyles.css` to be loaded from the executable folder
Many files will loaded from the folder containing the executable, resultstyles.css is not one of them.
6 votes -
Dump should output script line number
In scripts with multiple calls to Dump, it is sometimes difficult to resolve Dump output with the specific Dump call that generated that output. If the Dump output contained the line number that originated that output, it would help in this regard.
6 votes -
Connect to a sql backup file
To be able to connect to .bak file, SQL Server backup file, would be totally amazing
6 votes -
Allow Tagging the queries for better Organization
As a reference provider I would like to label/tag queries so that it is easy for others to locate queries using tag/labels.
I am using folders to organize my saved queries by creating folder for language, type, version, library used etc. These queries are examples of how to use different libraries or language features. I organize these by creating folders for Libraries or Features used in the query.You can imagine that some queries include multiple libraries plus language features, in which case it becomes difficult to decide where to place it or end up in coping the query in many…
6 votes -
Query Tab undock
Please tabs undock options. When use multiple monitor this future
it can be useful.
thanks a lot6 votes -
Add Server Core support
Currently v2 and v5 versions of Linqpad do not start in Server Core with a fatal COM exception.
If this COM component it's requesting is not critical, perhaps it could be possible to ignore the error or start in feature-limited mode, thus making Linqpad a useful tool for on-the-box troubleshooting/scripting on Server Core servers.
6 votes -
Save tab state on exit
Restore tabs in linqpad start
6 votes -
6 votes
-
Second NuGet package source breaks downloading from original
Adding a second package second source, from a custom source - e.g. Visual Studio Online. Which doesn't have all the packages of api.nuget.org, will break installations from api.nuget.org. LINQPad complains it can't find e.g. PureWebSockets or Json.NET from https://blahblahblah.pkgs.visualstudio.com/blahblahblah
6 votes
- Don't see your idea?