1195 results found
-
compile only in LINQPAD.Exe IDE
In LPRun.exe we have the ability to only compile the script with the
-compileonly switch.
It would be nice if we had the same in the GUI IDE.Thanks in advance.
6 votes -
conditional caching and cache querying
If I want cross-execution (being able to F5, F5, F5) cache certain fetched web pages (only if they actually return a 200ish result). I can't make use of the existing very helpful cache method options.
I don't want a failed attempt to be cached, and I want to be able to cache all
successes.I'd like it if we could have the following signature off the existing Util class
T CacheIf<T>(string key, Func<T> f, Func<T,bool> predicate, byref<bool> fromCache)also very usefulIsCached(string key).A work around would be to litter the code with throws and try/catch.
1 vote -
UI, usability (Restart, Results pane)
Minor suggestions or options,
1: restart button (Execute, Break, Cancel, Restart) & customizable shortcut for it.
2: results pane growing results backwards, the newest line(s) on top of the pane, this would help debugging and testing hardware (IoT:s) a lot.
I know, there is auto scroll option, but LIOT (last-in-on-top) would be nice.1 vote -
pre-allocate listbox storage for intellisense drop-down to improve performance
The intellisense dropdown uses the standard ListBox which calls SendMessage to the native listbox instance once for each new intellisense item. For many items, this can be incredibly slow.
However, it seems that listbox supports pre-allocation for memory when a large number of items will be added:https://docs.microsoft.com/en-us/windows/win32/controls/lb-initstorage
Making direct use of this API would enable performance improvements when a large number of intellisense items (up to 32k) are present - on my machine (32 core), a few thousand results in 10-30 seconds of delay every time a new intellisense dropdown opens, which is almost completely unusable. This fix could…
1 vote -
Pinned tabs show in a separate row
Add ability to have pinned tabs show in a separate row.
This allows easier navigation between queries when you have many open at one time.
2 votes -
Bug: Get Exception on Dump() Empty string if Dll Reference exists
Hi
I found an strange Exception eg. Bug in LinqPad.
Following Code works:
´´´
var e = foo();
e.Dump();
string foo() { return ""; }
´´´But if I add any Reference on *.dll over F4, "Additional References" and "Add/Browse"
I get on .Dump() following Exception:
"The type initializer for 'DumpExtensions' threw an exception."
inner Exception: The invoked member is not supported in a dynamic assembly.This stops the practical using of Dump() in my Code.
2 votes -
Output LINQ/C# text as a comment into the generated SQL
SQL Server keeps track of all queries, including the text. Sometimes queries don't work as expected (timeout, errors, etc.) but sometimes it's also very useful to have a record of everything that is done as a log. I see the generated SQL. I'd like to know the C# that was entered into the query window. As an option, could you add this as a comment?
4 votes -
Require auth like fingerprint/windows hello for production connections
Today we use read only connections for production databases and it works well. But everyone once in a while we do need to change a value in a production db.
Today we then connect with different credentials which takes a little time.My suggestion is a connection that linqpad enforces with fingerprint, windows hello or similar.
So the connection is always there (and read/write) but every time I want to use it I have to authenticate. This would still be much faster then creating new connection (and in the other scenario I also have to remember to disconnect manually but…3 votes -
Add support for C# 9.0 in LinqPad 5
I have both LP5 and LP6, but I don't seem to have a way to write code snippets in C# 9.0 against .NET Framework 4.6/4.7/4.8. I'm fine with switching over to LP6 if/when I want to target .Net core or .Net 5/6, but I still need a way to test the latest language features against the older Framework versions.
3 votes -
Need a full LINQPad version 6 video
While LINQPad Version 6 was released in 2019, if you do a google search on "linqpad version 6 video", it shows all but one of the tutorial videos were produced before 2019. Only one was produced in 2020, and it focuses solely on databases.
Instead, I want a tutorial video that includes the new version 6 hooks into visual studio. For example, the Rainer Stropek YouTube video "C# LINQ - Part 2- Basic LINQ Queries" has a nice elaborate visual studio Enumerable example with a JSON file. Under LINQPad 6, I'd like a video tutorial that shows how to load…
1 vote -
4 votes
-
Great great work. Could you please include functional programming.
Either Options Some None Map Reduce...
1 vote -
Dark Theme like Windows 10 Dark / Visual Studio 2019 Dark
Dark Theme like Visual Studio 2019 Dark
3 votes -
Support custom project properties and environment variables
Sometimes we need to specify custom project properties and environment variables for a query, for example,
<EnablePreviewFeatures>true</EnablePreviewFeatures>and env varsDOTNET_TieredPgo=1. Please allow us to customize project properties and environment variables.3 votes -
Laundy list of desired features:
Laundry list of desired features:
- Export Query to Dotnet SDK Project.
- Import / Export CSX (C# Script) Files
- Incorporate the C# Interactive Runtime and add immediate window, Like Visual Studio. Would be a huge help during debugging.
- Add Unit Test Management with support for MSTest, nUnit and xUnit projects.
- Seriously consider adding a Report Builder. LinqPad is already 75% of the way to replacing MS Access. This could put the nail in the coffin for MS Access.
4 votes -
Please add a mode to the Output panel to render Markdown that is emitted from code.
I like to format error messages and other output with Markdown to make it easier to create reports from code (I typically use LinqPad to free-hand test code and apply weird edge cases or explorer difficult bugs). Seein my output properly formatted will help me and my clients visual what their code is doing. And adding support to render PlantUML would also rock.
4 votes -
Add option to format document on save
Have a setting to format document on save.
In visual studio I use codemaid and whenever I save files it formats them.
Would be nice as one of those menu elements with a checkmark beside them.4 votes -
Convert to class from anonymous objects
Something like in VS 2019, right click menu, "Convert to class". It would be so helpful for tasks like data exploration.
3 votes -
Asynchronous Util.Cache overloads
Given that a natural thing to cache would be a download of a file, being able to use the asynchronous methods of HttpClient inside the Util.Cache delegate, without shortcircuiting with .GetAwaiter().GetResult() would be nice.
6 votes -
Add drag/drop to copy/move .LINQ files in the MyQueries tab
Add the ability to copy (Ctrl+Drag) and move (Drag) .LINQ files within the MyQueries tab across folders via drag and drop. Currently, to move a file, one must open the file, use "Save As," and then delete the original.
I know I can use File Explorer to do this, but it would be nice if it could be done right there in the MyQueries tree.
1 vote
- Don't see your idea?