<div>Maybe something similar to Microsoft's #region directive (<a href="http://msdn.microsoft.com/en-us/library/9a1ybwek(v=vs.71).aspx">http://msdn.microsoft.com/en-us/library/9a1ybwek(v=vs.71).aspx</a>). It wouldn't need much intelligence, but you would have to manually define each block</div>
<div><br></div><div><div>(define fish '(1 2))</div><div>;; region Tests
</div><div>(module+ test (check andmap number? fish))</div><div>;; endregion</div><div> </div><div>(define (feed n) (+ n 1))</div>;; region Tests<div>(module+ test (check-equal? 3 (feed 2)))</div>(module+ test (check-equal? 0 (feed -1))) </div>
<div>;; endregion</div><div><br></div><div><br><div><br><br><div class="gmail_quote">On Wed, Jun 6, 2012 at 1:45 AM, Laurent <span dir="ltr"><<a href="mailto:laurent.orseau@gmail.com" target="_blank">laurent.orseau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">One feature that could be helpful here is code folding. DrRacket could then propose different "views" of one source file (e.g., code only, code+tests, tests only, etc.).<br>
Not sure how to do it though.<br><br>Laurent<br><br></blockquote></div></div></div>