1190 results found
-
Found a bug related to Linq for database
I recently write a web crawler which fetches data from website and store into the database. Since I have already had some same kind of data in the database, I have to use linq to detect whether or not the data fetched from website has already been in the database. Here comes the problem: every times the compiler runs into the Linq expression against the database table, it seems like it generates a new instance of the database, and not disposing it after leaving the brackets. Thus the query at some point would ran out of the memory. I rewrite…
3 votes -
Quickly select a database to open
Our Dev and QA servers have at least a hundred databases on each server instance. It would be great if there was a "Quick Select" for databases similar to the "Navigate to Query" ctrl+, window. I know there is the drop down at the top, but it is not a searchable drop down.
3 votes -
Inline UI Button to direct execute a single .Dump() statement
Detect the Dump() statements and render an inline Button next to it (or in the left column). That button work immediately execute only that Dump() statement.
Probably only works in the C# statement(s) mode
3 votes -
Include Optional Parameter for Hyperlinq Tooltip
I'm hoping this would be a fairly easy change, but would make my life a lot easier. I dump a lot of abbreviated strings/hyperlinqs which I only sometimes need to differentiate the absolute paths or other truncated details for. It would be great if I could just mouse over the text to get some additional info.
3 votes -
Remove "asterisk" indicator in the file tab when unsaved changes are canceled using "Undo" feature
LINQPad adds * (asterisk) indicator char to the current tab when saved script is changed (char removed/added, etc). It would be great if this * (asterisk) indicator is removed as soon as changes are undone by multiple CTRL+Z commands. As for now, even if file is restored to the original state, the asterisk is still displayed and it's difficult to tell if the file was really changed or not (safe to resave or not?).
Please consider implementing this feature, it should be a piece of cake! :)
Thanks!
3 votes -
add a way to get iwin32Window from linqpad
Dim wnd As New NativeWindow()
wnd.AssignHandle(Process.GetProcessById (Util.HostProcessID).MainWindowHandle)'Add the above code or the c# version of it to a Util function that lets us pop up dialogs that show above the linqpadwindow.
'_____
Dim browser = New FolderBrowserDialog With {.ShowNewFolderButton = False, .SelectedPath = pth}
If browser.ShowDialog(wnd) = DialogResult.OK Then
pth = browser.SelectedPath
End If3 votes -
"Show all nestings levels" works only for the first items!
"Show all nestings levels" works only for the first items! Not for all. Please fix!
3 votes -
Render FSharp.Option types as if they were Nullable<T>
It would be nice if FSharp Option types would render as (value | null), rather than, at the moment, as a nested table with (Some(value) | None)
This would be consistent with the rendering for Nullable<T>, which prefers readability over being totally strict around the type system.
I appreciate you don't want to add an endless list of special cases, but this would be really useful.
3 votes -
BUG - Intellisense does not work within a nested object initiailizer
When using and object initializer on a property within a parent object initializer, the intellisense show the global intellisense list.
This code shows the issue:
void Main()
{
new Foo
{ // Placing cursor after this brace and pressing space gives a drop-down list with "Qux", as expected
Bar =
{ // Placing cursor after this brace and pressing space give th same list as Ctrl+Space in an empty query. Expected a list with "Baz".
}
}.Dump();
}// Define other methods and classes here
class Foo
{
public Foo()
{
Bar = new Bar();
}
…public Bar Bar {
3 votes -
Allow LinqPad Query to access internal members of referenced libraries
It would be great if LinqPad query can access internal members of referenced libraries without changing the referenced libraries to add
InternalsVisibleTo
attribute. Instead we could use the reverse attributeIgnoresAccessChecksToAttribute
in the query to allow it to access internal members of any specified libraries. You can find detailed information on how this can be done here: https://github.com/aelij/IgnoresAccessChecksToGenerator and https://github.com/filipw/Strathweb.Samples.CSharp.NoVisibilityChecks3 votes -
implement "collapse all" as right-click option on nodes in the connections/databases/queries views on the lefthand side of the main window.
title says it all. I really really need this, as LINQPad becomes really really annoying to navigate after a while without this
3 votes -
Better suport for Ctrl+C and Ctrl+V in rich Text formatting
Coping and Pasting the Result data to another application normally don't show results has expected.
Like pasting to notepad the columns heads is pasted one per line and the data is pasts was separated by space.
I would expected that the past data and the headers should be pasted separated by tab.
3 votes -
Add DatePicker control to LINQPad.Controls
There is no DatePicker control available and there doesn't appear to be a HTML5 implementation of <input type="date"> which would automatically show a DatePicker on clicking in the field. I expect it could be done with JavaScript, but a control would be nice.
3 votes -
Add ability to highlight text/row in output window which matches some text passed to Dump() method
The Dump() method should expose a parameter that adds ability to highlight texts that matches the parameter. This would help us quickly find something when dealing with a deeply nested or a very long list of objects that are dumped.
3 votes -
Add a console like package manager
A console on the bottom side like the package manager on VS. Having the ability to run powershell, cmd or your own linqpad scripts. By default on the query directory. This way, you can chain commands with your own scripts and things like that to automate things.
3 votes -
Option for marked as "Production" database connections
It would be nice to have an option for database connections marked as "Production" to be able or not be able to save changes, modify or delete etc.
3 votes -
Copy columns
When clicking on the header of a colomn the column gets selected and you can copy the entire column
3 votes -
run query from context menu
Very simple, right click on current query window and run query. Same as SSMS. If text is highlighted then run that context instead.
3 votes -
A column with the same name as the table (eg. Volume.Volume) will not show in the data model
I have a table called Volume. It has a bigint column called Volume as well. Linqpad doesn't show it at all
3 votes -
Make the "Export" function extensible
The "Export" feature currently supports Excel, Word and HTML. It would be nice if there was a way to extend this with our own, custom formats.
3 votes
- Don't see your idea?