1201 results found
-
Add (Administrator) to the title bar if running with administrative privileges like Visual Studio
It is helpful for me to see at a glance if the process I am using is elevated or not - as by default they are not. Here is some sample code I tested in LINQPad to test it under my Win7 environment:
// using System.Security.Principal
WindowsIdentity user = WindowsIdentity.GetCurrent();
WindowsPrincipal principal = new WindowsPrincipal(user);
principal.IsInRole(WindowsBuiltInRole.Administrator).Dump();Discussion point: I don't know if any automation tools look for a title bar named LINQPad 4 - but changing it could introduce a breaking change for those folks. I imagine that changed from older versions (though I can't remember honestly). Maybe have it…
18 votes -
For portable installs, allow `resultstyles.css` to be loaded from the executable folder
Many files will loaded from the folder containing the executable, resultstyles.css is not one of them.
6 votes -
Adopt SharpDevelop's "Tools -> Convert Code to (other language)"
In SharpDevelop there is a useful tool which allows you to load a VB class and then convert it into C# (via Tools -> Convert Code to ...).
It currently supports source code conversions between VB.NET and C# (and vice versa).
Since SharpDevelop is Open Source, maybe it is not too difficult to add this feature to SharpDevelop?
1 vote -
Dump Roslyn SyntaxNode variables in the "Tree Visualizer"
I really love the "Roslyn Syntax Tree" visualizer, and use it a lot to inspect how the code looks like a tree.
However, I also do a lot with Roslyn, analyzing code, and writing code fixers. I'd really love it when I have a SyntaxNode, to be able to dump that to the Tree visualizer, and see it's tree there.
9 votes -
Fix: DumpLatest( <IObservable<IObservable<T>> )
The following code dumps the initial state of the IObservable<Int64>, but does not refresh it as new elements are added:
var i = Observable.Interval(TimeSpan.FromSeconds(1));
var w = i.Window(10);
w.DumpLatest();As a workaround, adding the following line of code seems to fix the problem:
w.Subscribe(wi => wi.DumpLatest());
1 vote -
LinqPad integration into Excel
A really nice feature would be an integration of LinqPad into Excel, a bit like Tsunami. I presume that it shouldn't be too difficult to implement with ExcelDna.
What would be really nice is features like being able to run Linq query against excel ranges, and if possible (like in F#) having auto-complete with column names.
LinqPad to excel (making functions available as udf in excel) is also nice but I think less useful.
29 votes -
Please provide in-program and online Find-Replace tool documentation.
The help menu item doesn't appear to give any help on how to use the program's find and replace tool. What are the wild-cards and regular expression features that the tool supports. Does it support beginning-line and ending anchors, multiline search patterns, etc.
5 votes -
20 votes
-
Stop scrolling current line to the top of screen after CTRL-E,D formatting
every time after CTRL-E,D formatting, moving current line to the top of the screen flickers the screen. I think it would be good to simply leave the screen as it is
2 votes -
sort database names
When I connect to a server which has a lot of databases (Azure in my case), it would be nice if the list of databases could be sorted alphanumerically in the connection window.
It's possible this option exists, but I have yet to find it!
9 votes -
0 votes
-
Memory leaks?
I see reports from several years ago of memory leaks. I find I have to close LinqPad regularly because it consumes a lot of memory - I just killed a collection of LP processes, one of which was consuming over 2GB and another over 1.5GB and the total in use by LinqPad processes was over 8GB. It seemed to be holding onto processes for tabs I'd closed because there were only 4 tabs in which I'd executed queries, but there were 10 processes other than the main app process.
When I restart LP (which I kill in Task Manager because…
2 votes -
Add Util.ReadLines() to accept multi-line user inputs
Util.ReadLines() is very useful - it can make my codes interactive.
But this method allows to input only one line.I want a method like Util.ReadLines()...
This method appears multi-line text box under the result pane.
And it accepts multi-line text input. Pressing Enter key just puts a newline,
and Ctrl-Enter key is for submit the input.I think this idea should expand usability of LINQPad.
12 votes -
Util.RawHtml doesn't seem to monospace <pre> tags
When I try to render some HTML that I get back from an FtpWebRequest call, dumping it to Util.RawHtml() gets me back a serif font output... the HTML actually has <pre> tagged content which should be monospaced, if I'm correct about how that gets rendered. When I run the same request via IE, I get exactly what I want.
1 vote -
Add different assemblies with same name
I have two different solutions but with the same assembly name but different projects. One is a upgrade of the other. When i add another assembly if it is of the same name, it overwrites one that is already existent, even if their paths in explorer is different.
1 vote -
Allow ignoring SSL errors
Speicifically for scenario of ODATA services being hosted in dev/test environments with machine generated SSL certificates
6 votes -
Hide Script Box and Load Form for customize query input for end user
I make many query then allow end user to use making report.
I would like to hide script box to end user.
End user just select script and run to see result.Also, I need to Load Win Form or WPF to replace same position of script box that let user select condition for query.
1 vote -
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 -
customize search engine for F1 help
When I use "Help on Current Type/Member", LINQPad harnesses Google to search for the specified information. Unfortunately, Google is currently blocked in my country. Can you add a feature to LINQPad so I can switch the search engine to Bing, Baidu, etc?
1 vote -
Dump collections as each item is processed
Every so often, I would be running a long running query that yields many results. And every once in a while, when dumping the results, there is a failure because of some exception (e.g., OutOfMemoryException, NullReferenceException, etc.) and you never see any of the results because of that. The dump method only writes to the results until the entire collection has been processed and renders them all at once.
It would be nice if LINQPad would dump each item as the collection was being processed so in the event of a failure, we could see the results that have been…
4 votes
- Don't see your idea?