.NET Fiddle Ideas

  1. Allow private main

    The .net compiler for real stuff doesn’t require the class Main() is in to be public nor Main() 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) uses private (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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  2. 8 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. 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, Lbound

    And 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →
  5. 7 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  8. 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.org

    6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  10. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  11. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. make app for WP 8!

    please! Make app for windows phone. It will be wonderfull!

    6 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. 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(&quot;Hello World&quot;);
    Console.WriteLine(DateTime.Now.ToString(&quot;d&quot;, CultureInfo.CreateSpecificCulture(&quot;es-CL&quot;)));
    Console.WriteLine(Regex.Replace(&quot;tot{o}&quot;, &quot;{O}&quot;, &quot;*&quot;, 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
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. View IL

    View IL feature doesn't work.

    5 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. 5 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. Debugging

    Allow the usage of debugging such as stepping into a function, out of a function, run, memory mapping, local variables and the whole nine yards. It is vital if you don't want users to write constantly Console.WriteLine() statements.

    Kindly, add debugging!

    5 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  20. Add Web Api 2.2 to list of project type

    Add Web Api 2.2 to list of project type

    5 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

.NET Fiddle Ideas

Categories

Feedback and Knowledge Base