1215 results found
-
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 -
Enable special accessibility features when assistive technology is detected
At the moment, items such as the editor do not read with a screen reader (at least the screen reader I use, NVDA, which is available at http://www.nvda-project.org). It would be nice if, when a screen reader is detected, it is changed to something like a rich text box or normal multiline text box with the advanced editing features of the editor that it has now.
3 votes -
Util.Dif Should have an indication of similar or different.
Util.Dif is awesome :)
It would be nice to do something like
var dif = Util.Dif(o1, o2);
if (dif.IsDifferent)
{
dif.Result.Dump();
}3 votes -
Have a short tutorial on how to query a Sql Server database
I downloaded LinqPad. Opened it and added a new db connection, but how do I actually query? Please give some example code.
For example, I have a table called 'Login'.
i wrote: 'from l in Login select l' but I get errors when executing this.How do I actually query against my database? Do you have some sample code.
Thanks
4 votes -
Add possibility to load custom js file for result view
This sould make it possible to add custom code for sorting columns or and other interactive behaviours.
3 votes -
Name new tabs as {TableName} instead of Query {X}
So it is easier to identify. All named "Query 1", "Query 2" doesn't tell much.
1 vote -
Add support to JavaScript language
Add JavaScript language so that we can easily test logic and functionalities without opening a browser.
5 votes
- Don't see your idea?