304 results found
-
Support writing unit tests
Allow us to create unit tests using NUnit or similar (either needs a new option in the Language dropdown or a one-liner you could put in your Main function to kick off a test runner). Running it would run all the Unit Test methods it finds. Taking this one step further, you could even support an auto-test mode, where every time you saved, if it compiles it runs all the unit tests it finds, making it the ideal for doing code katas in
69 votesLINQPad now has special xunit support as of 6.9.12, via new options on the Query menu. ‘Add XUnit Test Support’ adds the necessary dependencies + creates a customizable xunit runner. “Run Tests” (shortcut Alt+Shift+R) invokes the RunTests() method.
-
Autosave
Title says it all. Autosave would be a very handsome feature!
68 votesThis has been implemented as an auto-recovery rather than an auto-save (it has the same end result of not losing your work). A snapshot of a query is taken every 10 seconds if modifications have been made, and before a query is executed.
-
Select / highlight text in the rich text results pane on double click.
I keep double clicking on text in the results pane when viewing results in the rich text format and expect the string to be selected.
Instead it's somewhat unintuitive and requires a click and drag, which take a fair bit longer if I'm only after the text in a single cell.
67 votesThis works in LINQPad 6+ with the Chromium engine selected (the default from LINQPad 7).
-
Make Ctrl D a duplicate line command
Use Ctrl D for duplicate: copy the line that the cursor is on to the line below. Currently it isn't doing anything as far as I can see.
67 votes -
Code formatting.
Code formatting from VS.
64 votesCompleted in LINQPad 5
-
Edit and debug CSX files
I have been playing with scriptcs and csx files. It would be awesome if LinqPad could edit and debug csx files just like linq ones. With Roslyn being the future, seems like it would be an important feature for LinqPad (which is awesome!! by the way)
63 votesThis should now work well in LINQPad 9, including support for the #r directive. (File-based apps are also supported in LINQPad 9).
-
Any chance for a Mac version?
It wold be great if it ran on the Mac natively. OTOH it works fine in Parallels. Thanks! And long time no see.
62 votesThe first preview of LINQPad for macOS is now available: https://www.linqpad.net/LINQPad8Mac.aspx
-
Allow collapse/hide of connections/samples panels
Again thinking about screen real estate, it would be useful if I was able to collapse or hide (pin/unpin) the connections panel and the MyQueries/Samples panel - in the same manner that Toolbox, Solution Explorer etc can be hidden/collapsed in Visual Studio.
60 votes -
put a close button on the tabs
To close a query you have to use the X button in the upper right corner of the editor. it would be nice if we could have an X on each tab.
59 votesThis has been implemented in LINQPad 8.
-
AutoComplete for F#
AutoComplete for F#. Also looking for F# Samples.
55 votes -
User-defined mapping of keyboard shortcuts
Visual Studio has this. It would be lovely to have the same key combinations achieve the same effect across different programs. Hardwired shortcuts are a bit provincial, and problematic for aging neurons.
55 votesYou can now customize all keyboard shortcuts in LINQPad 9.
-
Autoimplementation of Interfaces and Abstract Classes
Add the ability to autoimplement an interface or abstract class like in Visual Studio. LINQPad already has the namespace importing like VS, so the UI for it exists.
53 votesAvailable from v5.24
-
Show whitespace
Add an option to make whitespace visible like in Visual Studio.
49 votesThere's now an option to show whitespace in LINQPad 9.
-
Allow prompting for user input
Something like this:
int age = Prompt<int> ("Your age");
and it would bring up a dialog asking the user to enter their age.
That would handle single values. For multiple values, maybe Tuple-style:
var data = Prompt<string,int,bool> ("Your name", "Your age", "I agree to the terms and conditions");
("Hello, " + data.Item1 + " of age " + data.Item2).Dump();
if (!data.Item3) "Please agree to the terms and conditions".Dump();
It should remember the last value entered. If the user hits Cancel, then it should throw a OperationCancelledException or something like that.
48 votesThis works via Console.ReadLline and Util.ReadLine. See “What’s New” for more details.
-
Azure Table Services (..and maybe blob)
WCF DataServices support doesn't seem to work with the azure table service (tho, after the docs both are basicly the same).
Would be great to get support for this :)
45 votesThis is now available as a supplementary driver that you can install in a single click. Go to Add Connection and click ‘View More Drivers’ and click on the Azure Tables driver.
-
Go to definition
Would be great to have the functionality like we do in Visual Studio to right click a method call and go to the definition of the method in the query window. Sometimes I work on rather large linqpad scripts and this would be very handy.
39 votesThis functionality is available in LINQPad 5
-
Let me close without asking if I want to save
I use LinqPad almost entirely for one-off, throwaway queries -- for example, I'll use one of our utility classes to do a quick calculation. When I close LinqPad, the "do you want to save?" prompt is a pointless annoyance.
It would be much nicer if LINQPad followed the model of how Web browsers save and restore tabs.
Never prompt me to save; just autosave my documents to a temp location and then exit.
Next time I open, give me an unobtrusive way to see my old queries and reopen them if I wish; but if I'd rather just start a…
38 votesThis is a duplicate of http://linqpad.uservoice.com/forums/18302-linqpad-feature-suggestions/suggestions/2418780-save-restore-queries-on-close-or-manually and has been implemented for some time in LINQPad 6.
-
Interface implementation
How difficult would it be to implement an interface in a class using autocompletion to create the method stubs? Similar to CTRL+. in VS, which lets you choose implicit or explicit implementation.
The issue is that if you create class using IDisposable interface, you have to manually create the Dispose method, for instance, and while this is easy, some others have more complex signatures, etc...
Thank you.
38 votesThis is available from Version 5.24
-
Support for C# 6 Language Features
C# 6.0 is currently in Preview with Visual Studio 2015 preview. As I am starting to use the newest version of VS, I am exploring the behavior of the new language features, including the new nameof operator, string interpolation, the null conditional operator, index initializers, etc. I instinctively go to LINQPad to test something out including these but then realize it is not yet supported :(
37 votesLINQPad 5 with C# 6 and VB 14 language support has now been released.
-
Hot exit functionality for open (and unsaved) editor tabs
Add an option to restore the open editor tabs (session) on restart of the application again. Especially the unsaved editor tabs. This is a really handy feature of e.g. Sublime 2 and helps to avoid unnecessary file bloat for not so important scratches worked on in LINQPad.
36 votesThis feature is available from 6.9.12
- Don't see your idea?