1205 results found
-
Update the static driver sample code to detect Context properties of type IEnumerable<T>.
The UniversalStaticDriver class does not detect the properties of the customType parameter that are directly of type IEnumerable<T>. If the customType inherits IEnumerable<T> (like say via IList<T>) then the property is detected. But if the property is actually declared as IEnumerable<T> then it is passed over.
I changed the line that declared ienumerableOfT from:
let ienumerableOfT = prop.PropertyType.GetInterface ("System.Collections.Generic.IEnumerable`1") where ienumerableOfT != null
to
let ienumerableOfT = (prop.PropertyType.GetGenericTypeDefinition() == typeof(IEnumerable<>) ? prop.PropertyType : null) ?? prop.PropertyType.GetInterface("System.Collections.Generic.IEnumerable`1")
Kinda hacky, but it fixed the problem for me. Probably a better solution would be to recurse through the type and all inherited types…
0 votes -
1 vote
-
(Optionally) show a different icon for each language in the My Queries treeview
(Optionally) show a different icon for each language in the My Queries treeview. Also show different overlays for expressions, statements, programs, etc. for each language. Maybe filters can be applied to sort things out. Make logical folder (like search folders in Outlook) to distinguish the items.
2 votes -
Add ability to customize the table context menu in the schema tree
The table context menu items in v4.37 are much improved especially adding the 'Explore top 100 …' - Thanks you!
But I would like the ability to add extra menu items for example to run a custom visualizer or perhaps a different query template to the ones provided.
9 votes -
Support for ILSpy From Sh
You can open ILSpy, load an assembly and navigate to a Type using the following command line:
ilspy "%userprofile%\documents\linqpad.exe" /navigateTo:T:LINQPad.LogYou will need to be able to configure the path to ILSpy in the Config as it can be installed anywhere.
More ILSpy command line support is here: https://github.com/icsharpcode/ILSpy/blob/master/doc/Command%20Line.txt11 votes -
Todo list
I really like the casual coding experience of LINQPad.
Would be nice if it had a little todo list that I could double click on, in order to go to the related todo comment
3 votes -
Ctrl+E as synonym for F5
Please could you add Ctrl+E as a shortcut for executing the query, this would be consistent with SSMS
6 votes -
Display documentation intellisense from <dll>.XML file
Visual Studio (and cs.exe) have the option of generating a .xml documentation file alongside the .dll & .pdb. This file enables documentation intellisense.
Linqpad should be able to provide this intellisense8 votes -
Display StackTrace on exception
Difficult to debug without it - I'm using LINQPad as a sandbox for most of my development, much faster than VS2010
4 votes -
Hexadecimal output formatting option
It will be very useful, if output pane can be easily switched between decimal and hex notations (when testing ciphering or protocol algorithms, decimal notation is pretty useless). And how about Dump() extension optional formatting specifiers?
8 votes -
Impersonation for Linqpad
Many times I am unable to execute operations on a remote machine and also I need to execute a set of operations on machine which is in another domain. In that case it would be nice If I can impersonate linqpad to use a different credential.
Few suggestions
1. Add Util.Runs (username, password)
2. Store a list of users with linqpad like connections so that the user credentials are encrypted and can be just called as
Util.Runas("refer User connection Name");7 votes -
REPL in LINQPad leveraging Roslyn
I'd created an idea for LINQPad to offer a REPL experience already (since I can't use language features like LINQ comprehension syntax or the like from PowerShell scripts), but now that Roslyn CTP is out and csx / C# script is alive, I'm hoping that the effort required would be much lower in LINQPad to offer a REPL. If it only works when Roslyn is installed, then that's fine with me, and it helps bridge the functionality gap for those of us that love LINQPad but want to use it as a REPL so we can keep results/objects/graphs in memory…
73 votes -
6 votes
-
copy-paste & indentation
I would like an option to auto-include the indentation of first line for copy-paste convenience,
I find when I copy-paste pieces of code around, I place the cursor usually at the starting word. Then I would hold the shift key to select the lines below. This results in excluding indentation characters of the first line, but including the indentation for the lower lines.
When you then paste this block, you would place the cursor at the correct position, but the lines under that appear 'one level too deep'.
I could work around it, by adjusting my selection to include the…
4 votes -
Tabbed Results Window + Pinned Tabs = Easily See the Results of Multiple Iterations of the Query
By default it would only ever create a single results tab and replace the results in that tab every time you ran the query.
However, if you pinned that tab, the next time you ran the query it would instead create a new tab and leave the old one untouched. This would allow users to work on a query and easily compare the outputs of different versions of that query.
A nice bonus would be a link that lets you retrieve the code that produced a particular tab's results.
5 votes -
Run a script with Microsoft's CLR Profiler
It would be great to be able to run profilers from LINQPad without creating a new VS project to get an exe for anything that i'd want to profile. This goes toward the "Pad" part more than the LINQ part of this program.
5 votes -
Expose SQL Connection TrustServerCertificate
A common SQL Azure connection failure is when you are running behind a proxy/firewall. At my office I cannot connect to SQL Azure without turning on the trust server certificate setting in the connection string. Linqpad doesn't expose this right now.
Exposing the ability to set the TrustServerCertificate=true in the ConnectionStringBuilder would allow this connection to succeed.
6 votes -
vb 2010 does not require line continuation
vb 2010 does not require the "_" when a new line starts with a query clause. It would be nice if you didn't either.
4 votes -
Option to ask for confirmation to call SubmitChanges();
I have a lot of queries I use day to day. I have recently started using SubmitChanges to update data when needed. I have this line commented out by default but worry that sometimes I could forget. Would be nice to have an option to that when enabled asks for confirmation to perform SubmitChanges()
3 votes -
Add the abilty to set CultureInfo
I live in sweden and swedish Exception message are quite useless when posting online (in help formus) etc. Would be greate to set the CultureInfo so Linqpad returns English exception messages.
4 votes
- Don't see your idea?