318 results found
-
Auto add nuget package to new queries
Hi guys!
I use LINQPad for testing my open source library Harmony and I find myself often open new queries and then I have to add the same nuget package (my own library) to the new query. It would be nice to have a list of default nuget packages (either latest or a specific version) that is added to every new query document.
Alternatively, allow me to create a group in the left column and let me configure common preferences like nuget references and when I add a new document there, I get those settings automatically inherted (at least at…
3 votesPress F4 for script properties and click "Set as default for new scripts".
-
Add an option to remove AI features from the UI
I have no interest in having an LLM assist me with my code, and as such I haven't added any API keys. But when I mouse over an error, the tooltip invariably includes "Ctrl+P for AI Help", and when I rightclick anywhere in the editor, the first entry in the context menu is all AI functions.
I propose that such features are either hidden by default until one enters an API key, or at the very least that an option is added to explicitly opt out and hide them.
Thanks.
3 votesUnderstood. The AI options will be much less intrusive in 9.3.12 if not enabled.
-
Ability to post clickable links in results
Maybe by having some kind of escape code whereby your dumped string doesn't get encoded or by having tags like in forums [url][/url]
2 votesThis has just been implemented in the latest version – see Peter’s comment
-
Make Console.Clear() clear the ouput window
or similar programmatic functionality
2 votesCompleted in 4.35. Call Util.ClearResults()
-
Sort results by clicking on column headers
The results can be collapsed/expanded.
So it must be possible to allow sorting, without having to edit the query and re-run it.2 votesCompleted in 4.37. Click the ‘Results to Grids’ icon and you will get clickable column headers.
-
Fix Bug: Open with Regions
When no instance of LP is running and you open a .linq file by double clicking it and said file has regions in it, LP seems to ignore those regions.
2 votes -
Allow extension methods returning local types
As per the "allow extension snippets" suggestion, extension snippets are now permitted. However, these do not work if they reference a local type.
Example:
void Main()
{
new Local().AddFoo().Dump();
}public class Local {}
public static class Extensions
{
// The type or namespace name 'Local' could not be found
public static string AddFoo(this Local local)
{
return local.ToString() + "Foo";
}
}2 votesThis is now fixed.
-
2 votes
From v4.37, there’s now a ‘Results to Grids’ mode with always-visible headers.
-
Remember tab order so using Ctrl-Tab swaps between most recent tabs
Just like Visual Studio, using Ctrl-Tab to swap between the most recently used tabs. I'm not looking for a dialog popup like VS (though not discouraging it if you're interested in going that far). I do a lot of swapping between tabs running a couple "queries" multiple times (in quotes because LinqPad is really my scratch-pad editor and I use that about equal with my use for actual queries).
FWIW: I looked to see if this was already suggested. I thought I saw it a couple years ago, but didn't see it on the new site.
2 votesThis will be available from 4.47.08
-
fsharp.compiler.service
Update FSharp.Compiler.Service used by LINQPad so that string interpolation in F# starts to work. Current version used is 22.0.3.0, which is rather old.
2 votesLINQPad 6.14.9 now uses the latest FSharp.Compiler.Service.
-
Ctrl+F should auto fill the selected text in the search modal.
When a span of text is selected and Ctrl + F (or Ctrl + H) is used, the selected text should be automatically filled into the "Find" input field in the search modal.
2 votesThis is now implemented in LINQPad 9.
-
Taskbar progress indicator
Indicate (any) query running status in the Windows task bar using the (indefinite) progress bar as displayed below:
https://blogs.windows.com/wp-content/uploads/prod/sites/44/2024/03/taskbar-progress-bar.png
2 votesGood idea - this feature is now implemented in 9.7.2.
-
Allow pasting of using statements without the mandatory prompt to move it to query properties
I very frequently run into situations that require copy-pasting code between Visual Studio, LinqPad, StackOverflow, etc. Although using statements can benefit from having a central home in query properties, it can be infuriating when you want more control over a single *.linq file.
2 votesThis is fixed in 9.7.10 - the dialog is removed entirely. It's no longer needed now that LINQPad supports `using` directives in both statements and program mode.
-
Allow additional typed DataContext instances to be created
LINQPad automatically instantiates a typed DataContext whenever you run a query with a database. It would be great if we could instantiate additional DataContexts that connect to different databases (with the same schema).
1 voteYou can now go: var anotherDC = new TypedDataContex (“cx string…”)
-
Format the SQL translations so they can be pasted into Management Studio
The parameters should be be like this:
declare @x int
set @x = 5so we can paste the whole thing into SQL Management Studio to see the execution plan.
1 vote -
Add Smart Tags for importing additional namespaces
When you type a class such as Registry a smarttag should appear for autocompletion users allowing them to pick a namespace to import - like in Visual Studio.
1 vote -
Let us edit stored procedures within LINQPad
Can we please right-click on a stored procedure and choose edit
1 vote -
Format 2-D arrays nicely in LINQPad
It would be nice if 2-dimensional arrays displayed as a table rather than a flat list.
1 vote -
Add a MRU to the File menu
Add the most recently used queries to the File menu.
1 vote -
Support unsafe code blocks in C#
At the moment it won't let you run code with unsafe code blocks. Can this be changed?
1 vote
- Don't see your idea?