1187 results found
-
Allow Database connection panel to be closed
Most of my LINQPad scripts do not use a database connection... so I'd like to be able to set a preference to close the connection panel (top left).
4 votes -
bug: Debugger.Break() doesn't work
I've made a Class and in the Property Getter i'm calling Debugger.Break()
the breakpoint is not hit when displaying a list of these class instances.
1 vote -
Experience
Open the context menu when a tab is right clicked, even if it is not the current tab.
Have a close tab button (visual studio style X) on each tab.
1 vote -
Add support for skippable unit tests (XUnit.SkippableFact)
Dynamically skippable tests are nice, but their status isn't reflected in the results. To support XUnit.SkippableFact (NUGET-package):
Make the following changes in xunit:
function RunTests - add:
runner.OnTestSkipped = info => AddTestResult(info);class TestResultSummary - add:
public bool Skipped() => _testInfo is Xunit.Runners.TestSkippedInfo;TestResultSummary / public object Status - add:
_testInfo is Xunit.Runners.TestSkippedInfo ? Util.WithStyle ("Skipped", "color:orange") :
To test it:
[SkippableFact]
void Test_Xunit3()
{
Skip.If(true, "skipping");
Assert.True(1 + 1 == 2);
}[SkippableTheory]
[InlineData(1)]
[InlineData(2)]
void Test_Xunit4(int x)
{
Skip.If(x==2, "skipping");
Assert.True(1 + 1 == 2);
}Note: Those changes will also work with the plain XUnit. So adding…
1 vote -
Speed up search
Please speed up the My Queries 'Go To' (search). I have about 0.5 GB of snippets and I need the search to be faster (maybe run it in parallel. The speed needs to be improved especially when searching content. LINQPad is amazing BTW!
1 vote -
Turn off a Dump() when double click it
I write a lot of Dump(), to output variables temporarily, and finally remove them.
It would be nice to turn on/off a Dump() without edit code.Please highlight the Dump() method, swith to DumpOff() when double click it, and output nothing.
7 votes -
Structure connections - "sub folders" for connections in connection window
In the left hand window (where add connection... is), it would be great allowing to structure the connections in "sub folders" - I have already 38 connections searching all the time for the right one.
Or at least, a way to move them up or down so I have the most important ones at the top.
0 votes -
Debug over all grouped tabs with F11
If possible allow group tabs to a debugginggroup. Then allow to singlestep "F11" debug over all tabs in this group.
3 votes -
Show Cursor position and selection length
If I get an Error I have sometimes to count the position with the cursor. For other situations it would be helpful the get besides the cursor position the selected length of the text.
I would like something like "Pos:( 1/ 12) Len: 13" or "Cursor: 1 / 12 / 13" in a statusbar etc.1 vote -
Insert/Edit full connection string (Connection properties -> Advanced menu)
In Connection properties -> Advanced, you can copy the full connection string to the clipboard. That is great, but from time to time I require to do the opposite: Copy a connection string from appsettings.json of my current .NET CORE EF project. It is kind of cumbersome having to copy the multiple parts into the dialog, and would be fantastic if the full connection string could be edited (e.g. in a text box).
1 vote -
Support anchor <a> elements in documentation
It would be awesome if Linqpad supported anchor <a> elements in XML documentation. Whilst it's not an element listed in the XML documentation comments (https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/xmldoc/), it is supported by Visual Studio and JetBrains Rider, and is useful for linking out to external documentation.
9 votes -
Allow memory allocations to be tracked
Would be nice to track the amount of memory allocated when a script runs (similar to MemoryDiagnoser in BenchmarkDotNet)
6 votes -
Close empty query when other script window opens
When launching LINQPad, it opens to a new empty query. I'd like that query to be automatically closed/discarded when I open a pre-existing query instead (from the My Queries panel).
1 vote -
Custom font Support
It would be really awesome if we could set custom font size for the the result window.
I know there is option to increase/decrease fonts, but it would be great if I could simply set the size/font that works for me and not have to change it manually for each Result window.
1 vote -
"Add Folder" option to Additional References menu
Some NuGet packages load native assemblies at run-time that are expected to be in a specific folder relative to the root folder. This makes LINQpad incompatible with these packages as LINQpad does not maintain the folder structure.
Having the ability to explicitly add a folder rather than a file to a query will allow you to maintain the folder structure the NuGet package expects.
Ex. https://github.com/charlesw/tesseract/issues/484
I also had to implement a similar workaround to use some methods in the ML.NET libraries (tensorflow related).3 votes -
1 vote
-
Create a web view for Instant Share
Rather than immediately downloading, have a web view of the uploaded script, with a download button, so people can see what they're downloading.
Ideally, it would summarize the header information and syntax-highlight the code.
Additionally, add an option in the File Menu to "Load from URL" which will automatically download the file.
3 votes -
Results window should allow chromium-based output (WebView2)
If I recall, the results tab is just a WebBrowser from the System.Windows.Forms namespace, which is just IE. However, there's now WebView2, which is a browser that's chromium based: https://docs.microsoft.com/en-us/microsoft-edge/webview2/ . I have installed the Canary build of edge and would love to try out LINQPad with that as the results window instead of the IE-based version.
1 vote -
Retrofit LP6 features to LP5 for those who cannot use .NET Core
For a variety of reasons, I am not able to use LP6 on one of my machines because I am not able to leverage .NET core, and so I use LP5 but I miss things like F12 navigating to My Extensions (instead of opening ILSpy), Util.HighlightIf(bool,object), DumpContainer.AppendContent, and #load. I LOVE LINQPad and use it daily (even for personal projects and reasons), and I would use LP6 everywhere if I could, but alas I cannot. I understand if there are reasons this won't work, but as a single user, I would absolutely LOVE it if some of those features could…
3 votes -
Navigate to file
I have hundreds of LINQPad scripts organized in folders. However it's still not that convenient to open an existing script. Need to go to appropriate folder and then search among the files. Don't remember the names exactly so sometimes it takes some effort. It would be nice to have equivalent of ReSharper CTRL + SHIFT + T option that would search through all files and I could enter just a single word or any subset of the file name.
3 votes
- Don't see your idea?