1201 results found
-
Option to disable saving DB connection data
I'd like to put some script to public git repo, but I don't want to share connection data which is stored in *.linq files. Please add option to skip saving this. I fully accept a must to choose DB after each script opening.
3 votes -
Enable code folding for comments (such as ///<summary> .... ///</summary>
Code folding works already for properties and methods but not for comments which use the three slash prefix such as:
/// <summary>
/// Gets or sets the name
/// </summary>
public string Name { get; set; }8 votes -
Package LINQPad 5.26.1 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586)
make it compatible with UWP
1 vote -
ValueTuple
When constructing a ValueTuple, such as
var vt = (ItemOne: "This is item 1.", ItemTwo: "This is item 2.");
and then using the Dump extension method, the dumped output does not reflect the semantic property meanings implied when constructing the ValueTuple.
It would be nice if instead of Item1 , Item2, etc if you dumped out the actual semantic property names used at instantiation.
Thank you
I am using v5.26.01 of LINQPad and v4.4.0 of System.ValueTuple via NuGet / Microsoft.
1 vote -
Support Live Execution
I would be great to use LinqPad as a scratchpad i.e. for it to execute code and print results as I type, or with N seconds delay.
3 votes -
Add interactive output format for lprun
I would love to be able to make lprun open a results window to dump too (identical to the one in linqpad.exe). Perhaps something like
lprun "myscript.linq" -format:interactive
or something.I write a fair number of scripts that dump a whole lot of information and also provide hyperlinqs for taking certain actions based on that information. Like validating a file and providing clickable fixes for any issues.
It's not hard to just open up LINQPad and run the script, but it'd be great to be able to run a task in my text editor that runs a LINQPad script and…
1 vote -
Implement CTRL-D multiple selection in the same way as Sublime Text / VS Code
In Sublime Text and Visual Studio Code you can select multiple other occurrences of the current selection with CTRL-D (see the first animation in the main slideshow on https://www.sublimetext.com/).
I'm so used to this being available that it now almost feels like a chore to have to do a 'normal' find/replace when I'm editing in LINQPad (I know: First World problem...).
Anyway, it would be amazing if LINQPad gained this capability, as it really speeds things up when hacking about with code.
21 votes -
Some global settings should be per query
Some settings which are currently global (in Edit > Preferences) should be moved to Query Properties. For instance:
Query tab:
- Compile with/without /optimize+
- Use Roslyn prototype assemblies
Advanced tab:
- Compile VB queries in strict mode
- Do not shadow assembly references
- Run queries in MTA threads
- Use MARS with database connections
0 votes -
Handling compiler error CS1701 - '...you may need to supply runtime policy'
I am compiling code with CSharpCodeProvider and getting error CS1701 with message like that: Assuming assembly reference 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' matches 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', you may need to supply runtime policy.
In Visual Studio information stored in assemblyBinding section of app.config resolves this problem.
How to fix that in LINQPad.1 vote -
Minor fixes / ideas
VIM Visual Mode:
Type V and hit three times L.
Linqpad selects only 3 characters, whereas the original vim would select 4.VIM Search replace:
To replace stuff within the current selection, type in VIM
:s/Pattern/Replace/gNew Shortcuts:
ALT+J / ALT+K navigates to the left / right query tab.Thanks for this awesome tool!
1 vote -
order connections by name
I would like the option to sort the connections by name, now I have similar named connections all over the place (which already lead to duplication). This sorting would be convinient in combination with the grouping of connections into folders (first order folders, then folder contents)
18 votes -
Allow export of objects.
Allow export of objects with Object and Collection Initializer syntax:
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/object-and-collection-initializersSimiliar to this extension for VS: http://www.omarelabd.net/exporting-objects-from-the-visual-studio-debugger/
3 votes -
Management Studio Templates (Ctrl+Shift+M) Support
In SQL Management Studio, you can use expressions like
DECLARE @FirstName NVARCHAR(max)='<Enter FirstName,nvarchar(max),John>';
DECLARE @LastName NVARCHAR(max)='<Enter LastName,nvarchar(max),Doe>';in a *.SQL file. When you press Ctrl+Shift+M, then you are prompted to enter the parameters in one single dialog (in this case it shows "Enter FirstName", and "Enter LastName" displays default values "John" and "Doe", both of type nvarchar(max))
This is quite useful to have some quickly generated macros at hand, and maybe the idea could be supported in C# for Linq Expressions as well ...
0 votes -
Run LINQPad as a UI prototype (hide panels on startup)
Due to the availability to HyperLinq's, it's actually possible to prototype a fairly decent "developer tools" UI with quick shortcuts. However it would be nice if it were possible to start up such a script without the other LINQPad UI, such that only the output panel was visible by default (or it was possible to customize which panels should be visible). This makes sense for both Web and WPF (or other visualizer) panels.
2 votes -
Allow us to export as the actual number.
Large numbers are exported as scientific notation.
3 votes -
The call is ambiguous between two extension methods
Apparently LINQPad is unable to correctly resolve the extension method if it is available either in the same or sub-namespace.
E.g. .net-4.7.1 has recently added the
Append
extension. I had an extension with the same signature in my own library.Even though my extension uses the namespace
System.Linq.Custom
it does not work in LINQPad. There are no problems with it in Visual Studio and there the compiler picks my extension.This looks like a bug to me.
The exact error message is:
CS0121 The call is ambiguous between the following methods or properties: 'System.Linq.Enumerable.Append<TSource>(System.Collections.Generic.IEnumerable<TSource>, TSource)' and 'System.Linq.Custom.EnumerableExtensions.Append<T>(System.Collections.Generic.IEnumerable<T>, T)'
7 votes -
Util.WriteCsv DateTime format
Util.WriteCsv method should output DateTime to millisecond accuracy.
Ideally it should allow us to pass in callback / custom value formatter
1 vote -
VB Indexer, missing Parameter-Info
VB Indexer, missing Parameter-Info
1 vote -
name
Allow a query tab to be labeled without having to be saved. This would really help when you are doing a lot of ad-hoc queries and have many query tabs open and need to navigate between them.
3 votes -
Let 'exclude' work on items of IEnumerable
If I'm Dumping an IEnumerable<Foo>, it would be very nice to be able to use "exclude" to suppress members on the individual items; currently, "exclude" looks for properties on the IEnumerable itself. I can accomplish this by Dumping to a data grid, but I think it should work the same way with rich text as well.
3 votes
- Don't see your idea?