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!4 votes
I was coding something and had some code to tell the user to press enter to continue. I did not want to keep writing it, so I copy and pasted it. However, this made my code go wonky. I had a switch later in the program and I was testing it out making sure it worked. I had copied and pasted the code after the switch, and this is where it gets weird... every time I ran it, it would go back to where I copied the code from and rerun the switch. I don't know why it happened but I fixed it by manually rewriting part of it.
For clarification all the code was:
Console.WriteLine("Press enter to continue");
I was coding something and had some code to tell the user to press enter to continue. I did not want to keep writing it, so I copy and pasted it. However, this made my code go wonky. I had a switch later in the program and I was testing it out making sure it worked. I had copied and pasted the code after the switch, and this is where it gets weird... every time I ran it, it would go back to where I copied the code from and rerun the switch. I don't know why it happened but…1 vote
static (int, int) Foo(int i)
return (i+2, 1*2);
Current "result" :
Predefined type 'System.ValueTuple`2' is not defined or imported
To compile (and work of course :-)
This includes updating "4.7.2" "Compiler" to accept C# 7.x and at least linking the proper dll with ValueTuple-a for "Roslyn 2.0"1 vote
Why would you make a Nuget Header Directive available for C# but not for VB.Net?1 vote
It would be nice to have a user page that lists the Fiddles that we have created. A main page of sorts.1 vote
Such as controller or class or new .cHTML ...1 vote
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!4 votes
Monaco-editor is MIT licensed and made by Microsft.
It's the same text editor used in VSCode, and it is open source!
It also has many interesting features like code diff and editor customization.28 votes
Please give us inverted color theme, most developers are working with "white on black"37 votes
Roslyn 2.0 is currently in pre-release state. As we get close to RTM, dotnetFiddle will be quite useful to try or demo C# 7 features.18 votes
We need the same quick keyboard shortcuts as visual studio...
CTRL+D - Duplicate line
CTRL+K+C - Comment out line
CTRL+K+U - Uncomment line
ALT+ENTER - Automatically add or suggest missing namespace reference and add usings to the class (like resharper)4 votes
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
Full roslyn release support122 votes
Whenever I add Json.NET as a nuget project, version 126.96.36.199 is attached rather than the selected version. For instance, in this fiddle: https://dotnetfiddle.net/6LyfRc the latest release version is selected, version 7.0.1, but "Console.WriteLine("Json.NET version: " + typeof(JToken).Assembly.FullName);" actually shows 188.8.131.52 was loaded.28 votes
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:
There should be an option to automatically include all imports and remove unused imports.8 votes
In many cases I'd love to be able to have multiple files in a single fiddle so I don't have to throw all my classes in a single file and thus making it harder to read/understand.
Being able to have many files would greatly benefit explaining complex problems/scenarios.69 votes
Sometimes it'd be helpful to easily download the source code of a dotnetfiddle paste, either a single file or the whole paste (e.g. all files from a MVC "project")75 votes
- Don't see your idea?