1205 results found
-
Position of comment slashes when adding comments via the shortcut
It would be nice to have comment slashes (//) prepended to the first non-whitespace character of a line rather than the beginning of the line.
Example
Current functionality - Before using the comment shortcut:
void Main()
{
\s\s\s\sConsole.WriteLine();
}Current functionality - After using the comment shortcut:
void Main()
{
//\s\s\s\sConsole.WriteLine();
}Desired functionality - After using the comment shortcut:
void Main()
{
\s\s\s\s//Console.WriteLine();
}- Sorry for the awkward 'regex'-like values representing a space. This wasn't posting with all the spaces.
1 vote -
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 -
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 -
Auto-Create a DumpContainer in Dump(string containerName)
DumpContainer is cool, but it's not convenient to new a DumpContainer() and set the Content.
Please support Dump(string containerName).Like this:
public static class DumpExtensions
{
public static Dictionary<string, DumpContainer> dict = new Dictionary<string, LINQPad.DumpContainer> { };public static T Dump<T>(this T obj, string description, string containerName) { if (!dict.ContainsKey(containerName)) { dict[containerName] = new DumpContainer().Dump(); } dict[containerName].Content = obj; return obj; }
}
// Then I can simplely print 1-100 in 5 containers
void Main()
{
DumpExtensions.dict.Clear();
for (int i = 0; i < 100; i++)
{
i.Dump("", (i%5).ToString());
System.Threading.Thread.Sleep(100);
}
}5 votes -
Ctrl+[ to exist insert mode
Any of the following key combinations will exit insert mode: Escape, Shift+Enter, Ctrl+Enter. Typing 'kj' quickly will also exit insert mode if you enable that option in Preferences.
Ctrl+[ is a common alternative to escape in vim. A lot of vim users do not use the Esc key directly as it means taking your hand of the home row. Specially if you have Caps lock mapped to Ctrl. It would be nice to have it as an option.
9 votes -
Add extra XY series to chart
Currently in the beta charting works really nice, except it is not possible to add an extra XY set, only a Y set can be added using .AddYSeries.
1 vote -
Add extra XY series to chart
Currently in the beta charting works really nice, except it is not possible to add an extra XY set, only a Y set can be added using .AddYSeries.
0 votes -
Add support for codestats
Please add support for https://codestats.net
Thank you.
1 vote -
Allow Transparency of CTRL key to be disabled or configurable
I'd like to be able to configure the transparency of the CTRL key when the Intellisense window pops up.
The problem I have is, I use Emacs key bindings and CTRL+N and CTRL+P interfere with my UP/DOWN navigation scrolling through the Intellisense list. It's annoying trying to move up and down and the pop up keeps fading to transparent.
3 votes -
Option to disable saving DB connection data
I'd like to put some script to public git repo, but I don't want to share connection data which is stored in *.linq files. Please add option to skip saving this. I fully accept a must to choose DB after each script opening.
3 votes -
Enable code folding for comments (such as ///<summary> .... ///</summary>
Code folding works already for properties and methods but not for comments which use the three slash prefix such as:
/// <summary>
/// Gets or sets the name
/// </summary>
public string Name { get; set; }8 votes -
Package LINQPad 5.26.1 is not compatible with uap10.0.10586 (UAP,Version=v10.0.10586)
make it compatible with UWP
1 vote -
ValueTuple
When constructing a ValueTuple, such as
var vt = (ItemOne: "This is item 1.", ItemTwo: "This is item 2.");
and then using the Dump extension method, the dumped output does not reflect the semantic property meanings implied when constructing the ValueTuple.
It would be nice if instead of Item1 , Item2, etc if you dumped out the actual semantic property names used at instantiation.
Thank you
I am using v5.26.01 of LINQPad and v4.4.0 of System.ValueTuple via NuGet / Microsoft.
1 vote -
Support Live Execution
I would be great to use LinqPad as a scratchpad i.e. for it to execute code and print results as I type, or with N seconds delay.
3 votes -
Add interactive output format for lprun
I would love to be able to make lprun open a results window to dump too (identical to the one in linqpad.exe). Perhaps something like
lprun "myscript.linq" -format:interactive
or something.I write a fair number of scripts that dump a whole lot of information and also provide hyperlinqs for taking certain actions based on that information. Like validating a file and providing clickable fixes for any issues.
It's not hard to just open up LINQPad and run the script, but it'd be great to be able to run a task in my text editor that runs a LINQPad script and…
1 vote -
Implement CTRL-D multiple selection in the same way as Sublime Text / VS Code
In Sublime Text and Visual Studio Code you can select multiple other occurrences of the current selection with CTRL-D (see the first animation in the main slideshow on https://www.sublimetext.com/).
I'm so used to this being available that it now almost feels like a chore to have to do a 'normal' find/replace when I'm editing in LINQPad (I know: First World problem...).
Anyway, it would be amazing if LINQPad gained this capability, as it really speeds things up when hacking about with code.
21 votes -
Some global settings should be per query
Some settings which are currently global (in Edit > Preferences) should be moved to Query Properties. For instance:
Query tab:
- Compile with/without /optimize+
- Use Roslyn prototype assemblies
Advanced tab:
- Compile VB queries in strict mode
- Do not shadow assembly references
- Run queries in MTA threads
- Use MARS with database connections
0 votes -
Handling compiler error CS1701 - '...you may need to supply runtime policy'
I am compiling code with CSharpCodeProvider and getting error CS1701 with message like that: Assuming assembly reference 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' matches 'Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', you may need to supply runtime policy.
In Visual Studio information stored in assemblyBinding section of app.config resolves this problem.
How to fix that in LINQPad.1 vote -
Minor fixes / ideas
VIM Visual Mode:
Type V and hit three times L.
Linqpad selects only 3 characters, whereas the original vim would select 4.VIM Search replace:
To replace stuff within the current selection, type in VIM
:s/Pattern/Replace/gNew Shortcuts:
ALT+J / ALT+K navigates to the left / right query tab.Thanks for this awesome tool!
1 vote -
order connections by name
I would like the option to sort the connections by name, now I have similar named connections all over the place (which already lead to duplication). This sorting would be convinient in combination with the grouping of connections into folders (first order folders, then folder contents)
18 votes
- Don't see your idea?