1205 results found
-
Keep history of results, or simple append new results
I use LINQPad for computation. From time to time I need to change a few parameters and re-run the query. Now I have to export results to files then do the comparison.
It'd be nice to give an option to APPEND results instead of CLEAR OLD + NEW. (I can write a line to the output to separate the results from run to run.)
Many thanks.
3 votes -
Allow context constructor with optional parameters
We make use of optional parameters in the constructor of our typed datacontext. However, LINQPad cannot consume this datacontext. I get an error: "The type must define a public parameterless constructor." I propose that if there is a constructor with optional parameters and default values, that constructor should be used with the defaults.
3 votes -
Give preference option to set default fetching count than 100
I'd like to fetch 10 items rather than 100 as 100 items make me to scroll to top always.
It would be good to adjust default fetch count in Preference.
2 votes -
show me the syntax tree even when a compiler error occured
now when a compiler occured, you got nothing in the screen.
no results, no syntax tree, only error info.
there are three kind of compiler error, lexer error, grammar error, semantic error.
if the error is semantic error, the syntax tree must have been generated, so i wish it could be shown in the screen.or in a nutshell, show me the syntax tree when it is possible.
i want this feature for debugging compiler. XD
1 vote -
Clear SQL pane function
Hi, can you please add a function that clears the current SQL dump pane? This would be helpful while stepping thru code with the debugger when I want to keep track with the latest SQL statement showing up in that pane. Maybe a button next to "Analyze SQL v".
4 votes -
Don't store absolute paths in .linq files if you also got the relative paths in there
When storing .LINQ files in source control, running them on multiple machines end up checking in minor changes very often, due to the absolute path of relative references also being stored, like this:
<Reference Relative="..\..\MDA.Cards\bin\Debug\MDA.Cards.dll">D:\dev\VS.NET\MtGDeckAnalyzer\MDA.Cards\bin\Debug\MDA.Cards.dll</Reference>
I suggest you don't store the absolute path when you also got the Relative attribute, so that the programs only change when you actually make a change, and not change because you happen to run them on a computer with a different path setup.
11 votes -
DumpOptions attribute to customize Dump()
1) Ignore - ignore field/property/class in the dumped tree
Example:
public class AggregatedError
{
public string Name { get; private set; }[DumpOptions(Options.Ignore)] public string[] Files { get; private set; }}
will not display Files property.2) NotExpanded - do not expand collection by default
Example:
public class AggregatedError
{
public string Name { get; private set; }[DumpOptions(Options.NotExpanded)] public string[] Files { get; private set; }}
will display Files as a collection, but will not expand its by default3) ToString - display object as string
Example:
[DumpOptions(Options.ToString)]
public class AggregatedError
{
public override string ToString()
{…36 votes -
Add a windows explorer context menu "create linqpad snippet" for .dlls
Add a windows explorer menu short cut that would :
When right clicking assembly files (*.dll) which are .net dlls
startup linqpad with an empty snippet that has the dll as reference.
Ultimately linqpad would reflect the public members of the dll and list them somwher in the left pane.For trying out dlls this would be a killer feature!
You could also implement "spying" on configuration manager so that any calls to ConfigurationManager.AppSettings would alert the user and let him enter a value that the snippet would use.
3 votes -
Create a SQL view in the database directly from a Dump() result
Have the possibility to create a SQL view from the result of a dump() !
Linq is create to quickly extract complex data. If after you have just to click a button to save this in database it will very useful.1 vote -
3 votes
-
DumpToSlack()!
It'd be so cool if we could output/publish Dump() traces to slack somehow.
Sharing quick reports with my team would be amazingly simple.
7 votes -
Support multiple versions of a nuget package
Right now we have some linqpad scripts that use 1.7.1 of NEST Elasticsearch and some using 2.4.5. But we can not share those/use them on the same machine since there is only one 'NEST' directory under Linqpad\Nuget, right?
Not sure how this would be handled since you want to upgrade etc, but maybe the diretory should contain the version number in it? Then you could in theory have 2 versions downloaded.
1 vote -
being able to save a user work context
I usualy work by batches... at one client I use thoses queries, while at this other one, I use a different set...
And I have like 10-20 queries open, in a specific work context...
Context switching is a bit of a nightmare....
If only I had a button to save not the files themselves, but the specific work context, I could just reopen a previous context and off I'm gone...
1 vote -
oAuth Support for WCF data services
It would be great if Linqpad supported using oAuth for authentication.
52 votes -
Add server environment coloring in query designer
It would be awesome to be able to define along with every database connection some description, and custom color, which will then be shown in some corner in query designer.
It is usefull to warn you when you are accessing development, test or production database (or any other depending on the message you provided with connection string).
That way you can easily see, green means I'm good, red means extra carefull. Much safer than to accidentaly query the wrong database and alter the production data by accident.
25 votes -
Add an index row number column
The very left column (for selecting rows) should be a rownumberer column. Showing the index number of that row. Handy if you are sorting by a particular column and then want to quickly see how many are in each group.
1 vote -
Support export of query results to JSON
I want to create a JSON file for use as part of a simple web prototyping exercise. LinqPAD is perfect for accessing the data from my DB in just the shape I need, however I cannot get it out as JSON very easily.
I don't really care what the schema is, because I can adapt my JavaScript to work with whatever is returned.
64 votes -
Allow Action<T> as input to Dump()
Sometimes you don't need to Dump() the entire object graph, but instead just a portion thereof. Of course, you can (if in Statements or Program mode) assign a variable, and them Dump() something derived from the variable currently. But wouldn't it be nice, for example if you could do this:
/* some really complex query / .Dump(x => x.Select(y => y.EmailAddress, "Email Addresses")
./ some other operations on the complex query */This wouldn't be hard to code:
public static T Dump<T>(this T toDump, Func<T> filter, string description)
{
toDump.filter().Dump(description);
return toDump;
}Of course, you'd want to have other…
3 votes -
Fix for "Error 2714" when running the "But I don't have NORTHWND!" Sample query.
To fix "Error 2714" when running the "But I don't have NORTHWND!" Sample query, replace the text "Add connection" with 'Add connection' in the comment-section of that query (ie. Replace the double quotes with single quotes).
1 vote -
Linq File as Template (Readonly)
The posibility to define a .linq file as a "Template" (Readonly) would be nice. This would disable the script and would only be able to "Use as Template For A New Query". Another icon for the templates would be nice to.
1 vote
- Don't see your idea?