1182 results found
-
Copy/paste-able namespace and nuget references
Copy/paste-able namespace and nuget references.
I often copy/paste LINQPAD snippets between computers (over RDP), chats, OneNote etc. This works great if the snippet has default namespace and no nuget references. However, when it does, Copy/Paste takes a bit more work to re-setup namespaces.
Would be great if LINQPAD had "Show namespace and nuget comment" option, or "Edit->Copy complete snippet", embedding the <Query> part of the script into comments. E.g.
// #@kind Statements
// #@ref <RuntimeDirectory>\System.Windows.Forms.dll
// #@using System.Windows.Forms
MessageBox.Show("Hello");Or just
/* @#Linqpad
<Query Kind="Statements">
<Reference><RuntimeDirectory>\System.Windows.Forms.dll</Reference>
<Reference><RuntimeDirectory>\System.Security.dll</Reference>
<Reference><RuntimeDirectory>\System.Configuration.dll</Reference>
<Reference><RuntimeDirectory>\Accessibility.dll</Reference>
<Reference><RuntimeDirectory>\System.Deployment.dll</Reference>
<Reference><RuntimeDirectory>\System.Runtime.Serialization.Formatters.Soap.dll</Reference>
<Namespace>System.Windows.Forms</Namespace>
</Query>*/
MessageBox.Show("Hello");4 votes -
Tab Color
Tab Color should be easy to distinguish between the active one and the inactive ones
4 votes -
Remove "Active Queries" from task bar when you press Ctrl+TAB
when you press Ctrl+TAB to swtich from one query to another, a new icon appears in the taskbar (active queries form). Is it possible to remove this or have an option to now show it?
Every time I hit ctrl+tab my taskbar moves and I think something important is happening.
4 votes -
Clear SQL pane function
Hi, can you please add a function that clears the current SQL dump pane? This would be helpful while stepping thru code with the debugger when I want to keep track with the latest SQL statement showing up in that pane. Maybe a button next to "Analyze SQL v".
4 votes -
Unhandled System.NullReferenceException crash after running for a month.
LINQPad 5 AnyCPU has more than once crashed after being left open for a little more than a month. This time it was opened on 2016-11-08 at 13:50:07 and crashed on 2016-12-15 at 08:39:19. It opened a warning dialog and the only content was System.NullReferenceException.
Event Viewer information:
Faulting application name: LINQPad.exe, version: 5.10.0.0, time stamp: 0x57fc44fd
Faulting module name: System.Windows.Forms.ni.dll, version: 4.6.1590.0, time stamp: 0x5787eece
Exception code: 0xc0000005
Fault offset: 0x000000000085f047
Faulting process id: 0x5468
Faulting application start time: 0x01d239bea23f2b74
Faulting application path: C:\ProgramData\LINQPad\Updates50.AnyCPU\510\LINQPad.exe
Faulting module path: C:\Windows\assembly\NativeImagesv4.0.3031964\System.Windows.Forms\37004ddc6f466d807c52ca3b7f9f9827\System.Windows.Forms.ni.dll
Report Id: 96ead35e-c299-11e6-8ab9-d89d67cdb257Faulting application name: LINQPad.exe, version: 5.10.0.0,…
4 votes -
Allow to enable "check arithmetic overflow/underflow"
Like the checkbox in VS Build/Advanced.
4 votes -
Ability to set environmental variables
A way to easily set environmental variables. New wave of cloud apps/frameworks seem to leverage this as a way of injecting values into the app.
4 votes -
Show OPCodes in IL listing
When viewing the IL listing for a piece of code, it would be nice to see the actual opcodes for educational purposes. Or at least an option to turn that on or off.
4 votes -
Support NuGet packages that include DLLs
I ran into an issue attempting to use LINQPad to try out https://www.nuget.org/packages/libsodium-net/ - the package imported, but code failed with a DllNotFoundException. The package wraps a third-party DLL, which gets installed to a subdirectory of AppData\Local\LINQPad\NuGet.FW46. In Visual Studio, it apparently uses Baseclass.Contrib.Nuget.Output to copy the package output folder contents to the build folder. This doesn't work with LINQPad.
4 votes -
report specifics about errors that occur when running a query
When I run queries, particularly as C# Programs that use the construct List<string> { ... }.Contains(q.fieldName), I very often get the message in the status bar "Error running query". Sometimes if I re-run the query a few times it will give me the results successful. Other times, it just reports this error every time. I need to know the actual error message to have much chance to fix it.
4 votes -
Improve UI and Intellisense Performance - MyQueries on Slow Network Folder / Share
I put MyQueries on a network document drive to share on multiple servers and VMs. Unfortunately my company puts this on slow yet economical storage.
For some reason this makes LinqPad's UI dreadfully slow. Can this be improved?
I moved the scripts back to a local folder and it works fine but it would be nice to go back to the network folder.
4 votes -
allow cancellationtoken argument on main method for soft cancellation via ui
You already allow the main method to be async (returning a Task). So implementing a soft-cancel button which only becomes visible when the main method signature contains a CancellationToken argument shouln'd be very complicated.
4 votes -
reopen
Reopen all tabs (saved and unsaved like Sublime Text and so on)
4 votes -
Add support to JavaScript language
Add JavaScript language so that we can easily test logic and functionalities without opening a browser.
4 votes -
Have a short tutorial on how to query a Sql Server database
I downloaded LinqPad. Opened it and added a new db connection, but how do I actually query? Please give some example code.
For example, I have a table called 'Login'.
i wrote: 'from l in Login select l' but I get errors when executing this.How do I actually query against my database? Do you have some sample code.
Thanks
4 votes -
Add option to disable completely Instant Share
Why is this option not disabled yet? I am being asked to not use LinqPad any longer in my day to day workflow because someone accidentally shared something to Instant Share.
We need to be able to:
a) disable the menu item so that it cannot be accidentally clicked (or even seen)
b) disable the hot key combo so that it cannot be accidentally hit
c) manage the scripts that have been uploaded on our behalf so that we can delete any sensitive scripts.Scripts should not be automatically made publicly accessible without warning and should certainly not be left…
4 votes -
Support mapping [String].Split() to SQL 2016's STRING_SPLIT
SQL 2016 supports built-in function STRING_SPLIT().
This function corresponds to .net [String].Split(char).
Please enable mapping from C# to SQL when calling .Split() on a string.4 votes -
Add abiltiy to copy minimum working example (MWE)
It would be nice to have the option of copying a 'Minimum Working Example' to the clipboard. This would make it easier to e.g. post a question on StackOverflow.
It should include all namespaces and a full class declaration containing a static Main-Method. Also see here: https://stackoverflow.com/help/mcve
4 votes -
Option to enable server garbage collection
Would be useful when experimenting with F# Hopac.
4 votes -
Show Color and Image when Dump()
I like Xamarin Workbook,
but i prefer Linqpad more, please integrate it with SkiaSharp, when Dump, to have an option to see Colors and Image4 votes
- Don't see your idea?