1205 results found
-
BUG - Intellisense does not work within a nested object initiailizer
When using and object initializer on a property within a parent object initializer, the intellisense show the global intellisense list.
This code shows the issue:
void Main()
{
new Foo
{ // Placing cursor after this brace and pressing space gives a drop-down list with "Qux", as expected
Bar =
{ // Placing cursor after this brace and pressing space give th same list as Ctrl+Space in an empty query. Expected a list with "Baz".
}
}.Dump();
}// Define other methods and classes here
class Foo
{
public Foo()
{
Bar = new Bar();
}
…public Bar Bar {
3 votes -
Allow LinqPad Query to access internal members of referenced libraries
It would be great if LinqPad query can access internal members of referenced libraries without changing the referenced libraries to add
InternalsVisibleTo
attribute. Instead we could use the reverse attributeIgnoresAccessChecksToAttribute
in the query to allow it to access internal members of any specified libraries. You can find detailed information on how this can be done here: https://github.com/aelij/IgnoresAccessChecksToGenerator and https://github.com/filipw/Strathweb.Samples.CSharp.NoVisibilityChecks3 votes -
implement "collapse all" as right-click option on nodes in the connections/databases/queries views on the lefthand side of the main window.
title says it all. I really really need this, as LINQPad becomes really really annoying to navigate after a while without this
3 votes -
Better suport for Ctrl+C and Ctrl+V in rich Text formatting
Coping and Pasting the Result data to another application normally don't show results has expected.
Like pasting to notepad the columns heads is pasted one per line and the data is pasts was separated by space.
I would expected that the past data and the headers should be pasted separated by tab.
3 votes -
Add DatePicker control to LINQPad.Controls
There is no DatePicker control available and there doesn't appear to be a HTML5 implementation of <input type="date"> which would automatically show a DatePicker on clicking in the field. I expect it could be done with JavaScript, but a control would be nice.
3 votes -
Add ability to highlight text/row in output window which matches some text passed to Dump() method
The Dump() method should expose a parameter that adds ability to highlight texts that matches the parameter. This would help us quickly find something when dealing with a deeply nested or a very long list of objects that are dumped.
3 votes -
Add a console like package manager
A console on the bottom side like the package manager on VS. Having the ability to run powershell, cmd or your own linqpad scripts. By default on the query directory. This way, you can chain commands with your own scripts and things like that to automate things.
3 votes -
Option for marked as "Production" database connections
It would be nice to have an option for database connections marked as "Production" to be able or not be able to save changes, modify or delete etc.
3 votes -
Copy columns
When clicking on the header of a colomn the column gets selected and you can copy the entire column
3 votes -
run query from context menu
Very simple, right click on current query window and run query. Same as SSMS. If text is highlighted then run that context instead.
3 votes -
A column with the same name as the table (eg. Volume.Volume) will not show in the data model
I have a table called Volume. It has a bigint column called Volume as well. Linqpad doesn't show it at all
3 votes -
Make the "Export" function extensible
The "Export" feature currently supports Excel, Word and HTML. It would be nice if there was a way to extend this with our own, custom formats.
3 votes -
Make Connection Dropdown Searchable
Many of our testing and production environments have well over 50 to 100 databases. Manually scrolling through the tree is tedious and scrolling through the Connection dropdown is not feasible. If the Connection dropdown was searchable, it would be far faster to hit alt+c, start typing, and hit enter to open that database.
3 votes -
Implement rainbow braces as in Viasfora
Using Viasfora in VS2019 and have to say it's a brilliant extension. Would be great if you could implement something similar in LINQPad.
Thanks
Davehttps://marketplace.visualstudio.com/items?itemName=TomasRestrepo.Viasfora
3 votes -
Embed-able LINQPad
Similar to the "embed linqpad as a control" suggestion, which would be nice, but I'm looking for a formal method of embedding LINQPad in the same AppDomain as the host. I've been running LINQPad embedded in Rhino3D for years, not as a user control but via the ExecuteAssembly method on the AppDomain (with process isolation disabled in LINQPad). Simply invaluable. Ever since the new separate process architecture was implemented in LINQPad my previous hack no longer works.
It would be great if there was a simple hook in LINQPad.exe that we could call to run LINQPad in the host applications…
3 votes -
Auto scroll doesnt work with a changing DumpContainer
Updating content of a DumpContainer doesn't trigger an auto scroll.
Run this code in c# statements or c# program mode:
Util.AutoScrollResults = true; var container = new DumpContainer().Dump(); var builder = new StringBuilder(); while (true) { container.Content = builder .AppendLine($"{DateTime.Now:fff}") .ToString(); Thread.Sleep(150); }
3 votes -
outline code in the top of the query editor in a dropdown
in visual studio when A file is opened in the top of the window for the current file there's a dropdown that you can easily navigate into functions / procedures / etc, like a outline of your current file
anyhow, in linqpad the unique dropdowns are to code (C#, VBNET, …) - that In my case I just use C# or sql and another one for connection -> both I believe that are useful - but I don't even use/change in most scripts
so having a 3rd one (since connections takes a lot of space - or choose between connections…3 votes -
Compiler error CS0570 - referenced .NET Standard assembly method returns value tuple
For example, trying to use the following method defined in a .NET Standard assembly:
public static (object o, string objectName, string category)[] GetTestObjects() => ...
3 votes -
Timestamp on SQL tab
Display a timestamp for each SQL statement on the SQL tab so that the user can see when and how long between each command was executed.
3 votes -
Provide way to set resiliency options
With SQL Azure in general and now specifically with the new serverless option it would be great to be able to enable the various ADO.NET and EF Core resiliency options so that you do not get a timeout on startup or when there is a transient failure. Both are just settings for number of times to retry, the retry interval, etc.
For EF Core with SQL you can use something like
optionsBuilder.UseSqlServer(cstr,
sqlServerOptionsAction: sqlOptions =>
{
sqlOptions.EnableRetryOnFailure(
maxRetryCount: 18,
maxRetryDelay: TimeSpan.FromSeconds(5),
errorNumbersToAdd: null);
})In ADO.NET you can do it in the connection string parameters
ConnectRetryCount=18;ConnectRetryInterval=5;Timeout=90
Thank you
3 votes
- Don't see your idea?