.NET Fiddle Ideas
-
Allow private main
The .net compiler for real stuff doesn’t require the class
Main()
is in to be public norMain()
itself to be public. In fact, there’s no reason to write any access specifier in code since it doesn’t need to be public and is just extra noise, so I normally don’t in my one-off programs. Even [the VS templates for simple console apps](https://gist.github.com/binki/1f8ed17ed87cf4e78d3771d6f77cd0f9) usesprivate
(by allowing the default access by omitting the keyword).Because .net fiddle doesn’t support this, it is impossible to copy/paste simple programs from VS into it to share with others with all the output,…
9 votes -
8 votes
-
Auto Inclusion of Libraries
Libraries should be automatically included just like an IDE does.
For example: For some of the functions I have to:
"Imports Microsoft.VisualBasic" <--- example functions: Ubound, LboundAnd if i want to use regex then i have to include this:
"Imports System.Text.RegularExpressions"There should be an option to automatically include all imports and remove unused imports.
8 votes -
View IL
View IL feature doesn't work.
8 votes -
7 votes
-
Specify timezone for snippet
Sometimes I need to check a code that works with local timezone which should be different from UTC. It would be great to have an ability to specify timezone in that cases. Thank you!
7 votes -
Vi Emulation Mode
Some of us who have joined the "dark side" of the force enjoy finding at least minimal Vi emulation modes, with most common edit operations available. However, a more complete version of Vi emulation would be nice, but adding regex would be drop-in, right?
6 votes -
Support C# snippets (like in VS)
Could you add support for snippets? E.g. typing 'ctor' and pressing 'Tab' key 2 times should generate a class constructor just as it does in Visual Studio.
For some developers it could increase productivity.6 votes -
make app for WP 8!
please! Make app for windows phone. It will be wonderfull!
6 votes -
Update the list of supported frameworks
Given that MS have stopped supporting 4.5.1 and dotnet core has been released, it would be a good time to update the examples.
I would love to use .NET Fiddle in the documentation pages for my OSS projects, but I can't install the packages (I think because of the Framework verisons)
6 votes -
Public API for widget
I would like to embed the Widget on my and to preform functions on it such as load a snippet to the editor or append and remove lines.
This would allow me to create tutorials like tryfsharp.org6 votes -
Support Classroom Structure
Allow for a teacher/student structure whereby a teacher can have access to students' files and create tutorials on .NET Academy visible to only students.
6 votes -
Expression Bodied Properties
The following paste is an example of code that compiles in visual studio that does not appear to be supported by dotnetfiddle: https://dotnetfiddle.net/224Hvk
I was just making a quick draft to make sure I understood the way this kind of assignment behaved to find it wouldn't compile on dotnetfiddle
6 votes -
List ALL My Fiddles on one page, or at least allow to set page size
Why is the list limited to 10 fiddles? We should be able to see all of them, or at least have a page size option.
6 votes -
Automatically save the fiddle
Please add this, at least as an option. Otherwise we can lose work. Thank you!
6 votes -
Add System.Windows.Forms
Some of my code uses System.Windows.Forms.BindingContext (i.e. non UI code) and I want to reference it dotnetfiddle.net
Unfortunately I can't write
using System.Windows.Forms;
as I get the error Compilation error (line 2, col 22): The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)6 votes -
Game that should help ful for children
Now every one plying pubg so they should forgot that so I'm help Full with you
6 votes -
5 votes
-
User defined default template
Please allow users to have default templates and custom usings on loading.
Different users use different nuget packages and namespaces and want to have them declared when launching the website instead of having to add them manually each time anew.5 votes -
Simplify "Console.WriteLine"
I'd like to have an option do not use "Console.WriteLine"...
Instead of
using System;
using System.Globalization;
using System.Text.RegularExpressions;public class Program
{public static void Main()
{
Console.WriteLine("Hello World");
Console.WriteLine(DateTime.Now.ToString("d", CultureInfo.CreateSpecificCulture("es-CL")));
Console.WriteLine(Regex.Replace("tot{o}", "{O}", "*", RegexOptions.IgnoreCase));
}}
use simplified code like:
using System;
using System.Globalization;
using System.Text.RegularExpressions;?"Hello World"
?DateTime.Now.ToString("d", CultureInfo.CreateSpecificCulture("es-CL")))?Regex.Replace("tot{o}", "{O}", "*", RegexOptions.IgnoreCase)
5 votes
- Don't see your idea?