[Issue 17560] New: Enhancement: view and copy full code example for offline compile/play

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jun 26 15:56:33 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17560

          Issue ID: 17560
           Summary: Enhancement: view and copy full code example for
                    offline compile/play
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: crimaniak at gmail.com

Now we have code examples which can be edited and run online. But there are two
circumstances that make it difficult to use examples for beginners. First, the
examples on the site do not always work, and secondly, they are incomplete in
terms of imports. Therefore, a neophyte can not just save an example to a disc
and start playing with it.
I propose an additional button that shows the complete, compilable example
text.

--


More information about the Digitalmars-d-bugs mailing list