Hi Harry,<br><br>This would be a nice feature indeed. <br>Note that you can use code folding for that purpose, but I personally don't like it because it makes the saved source code non-textual.<br><br>One related proposal that I made earlier is to have a multi-view document, where you could select Source, Source + Tests, Tests only, and then maybe same for comments, etc. though maybe you'd like partial hiding of the comments.<br>
<br>It's unlikely that PLT is going to implement that any time soon, so it's more in our hands I guess (though it's unlikely that I'll do that anytime soon either).<br>Laurent<br><br><div class="gmail_quote">
On Wed, Jun 20, 2012 at 12:16 AM, Harry Spier <span dir="ltr"><<a href="mailto:vasishtha.spier@gmail.com" target="_blank">vasishtha.spier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I tend to put a lot of comments not just at the beginning of<br>
procedures but also in the body of the procedures, usually above lines<br>
of code instead of to the right because the comments can be fairly<br>
long and multi-line. This makes it easier to understand the procedure<br>
on the one hand but because it spreads the procedure out over several<br>
screens makes it harder to follow also.<br>
<br>
For that reason I thought a nice feature in DrRacket might be a menu<br>
button to either display or hide comments, so you could see the<br>
comments and then click the button and disappear them and see the<br>
entire or most of the procedure to see the program flow.<br>
<br>
Thanks,<br>
Harry Spier<br>
_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</blockquote></div><br>