1201 results found
-
7 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 -
allow "edit data" to work with dumps from any DataContext, not just the built-in autogenerated ones
I frequently use a DataContext imported from a external dll, instead of the autogenerated one (for many reasons inclusing this: http://linqpad.uservoice.com/forums/18302-linqpad-feature-suggestions/suggestions/8116665-let-the-autogenerated-datacontext-table-classes-us ) but this means that there's no "edit data" when viewing dumps. Is there any good reason why "edit data" shouldn't be available for external datacontexts ?
4 votes -
Support output to browsers
I want to suggest LINQPad can utilize SignalR to output results into browsers. That will useful for multiple monitor users.
1 vote -
SQL table direct editing: Leave mode, and ask before saving row changes
I like the ease of directly editing SQL tables in the premium edition. However, it's a little too "eager" to save for my taste. I'd like to suggest a couple related changes to make it safer for a klutz like me to use without accidentally nuking things:
1) LP has the new "Edit" button, but not an "End Editing" button.
2) When clicking between rows, any changes to the row being "blurred" (moved away from) are automatically saved. It seems like it should be asking first, at least once.Combined, these two things would make it much safer.
4 votes -
linqpad as a portable app
Right now I don't see a way to portabalize the app. All of the main config data, connections, app plugins, etc. save into the AppData folder. It would be nice to have an option to have these all save to a subdir of the executable so you could move the app between systems and have all of your settings, connections, plugins, etc. intact.
251 votes -
When dragging column name from connection box into a SQL statement, don't highlight it. just put the cursor at the end + 1 space.
When dragging column name from connection box into a SQL statement, don't highlight it. just put the cursor at the end + 1 space.
1 vote -
Clearly show sorted column
When clicking on a column heading in Results to Data Grids to sort by that column, it would be useful to see an arrow on the column heading to show that the data is sorted by this column, and in which order.
4 votes -
Snapshot saving
Due to the nature of Linqpad, I'm often using it for handling one-off processes or experimenting. It would be nice to be able to quickly step through all the saved states of a particular snippet, etc. Could marry with an advanced Undo system.
4 votes -
Provide Recently Used list for Find and Replace text
I would love to see the the "Find what" and "Replace with" text boxes turned into combo boxes that drop down to show recently used values. It would be particularly helpful when performing non-trivial regex searches.
1 vote -
provide the ability to query multiple schemas with the IQ driver for oracle.
An Oracle user may have access to multiple schemas with table definitions. It would be nice to specify the schema in the query.
E.G. I have a user that can see two schemas ,users and customers. Currently I have to specify the schema I want to use when setting up the connection. So, I can only query one schema per session. It would be great if I could do something like the following:
var customers = from c in customers.sometable
select c;
var users = from u in users.sometable
select u;
...
in a single session65 votes -
Save layout, e.g., Results Panel Height, as workspace.
I run queries from time to time, and every time I open a query, i need to adjust the height of Results Panel. It would be very helpful to save the layout for each query. So LINQPad could be used a workspace.
4 votes -
Keep history of the results
It would be great if you keep an history the last x (10,20,...) of the results (especially the html, but also SQL would be nice), including the time it took, and the date-time of the execution.
It could be very useful when comparing the results (both output data and time it took).
Many thanks!
21 votes -
Option Strict On
Let the change to Option Strict On for scripts that use VB.NET to be more accessible. Instead of going to the preferences menu, an option like the Turn Optimizations ON/OFF would allow fast switch for testing purposes
3 votes -
Adding PowerShell support
It would be nice to be able to test PowerShell From LINQPad, currently I have to use PowerGUI for testing Powershell Script.
10 votes -
Let the autogenerated DataContext table classes use properties, not fields
When using Visual Studio to generate a DataContext, the table classes use properties for the columns. When LINQPad does it, it uses fields, not properties. This is bad, because it creates a (too) subtle difference between the 2 tools. Code that works in one, may not work in the other.
1 vote -
Powershell script as output
Add possibilty to generate powershell code as output from linqpad script.
3 votes -
Support Fiddler Integration
I often transition between a query generated in Fiddler and its results being parsed with LINQPad. This can be made much easier.
4 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 -
Support TIMESTAMP WITH TIME ZONE columns in Oracle
Linqpad doesn't work very well if the underlying columns in an Oracle database contain TIMESTAMP WITH TIME ZONE columns.
These appear in the datacontext as DateTime (losing the offset information), however queries using equality checks against them can fail due to the way the underlying IQDriver handles (or otherwise) the conversion back to datetime offset within Oracle.
It's a bit of a pain, but one of the simple approaches is to ensure the generated SQL wraps those columns in either sysextractutc(theColumn) or 'theColumn AT TIME ZONE xxxx' to ensure they are compared with the DateTime parameter that is…
0 votes
- Don't see your idea?