[racket-dev] Comments and DrRacket

From: Laurent (laurent.orseau at gmail.com)
Date: Wed Jun 20 04:31:54 EDT 2012

Hi Harry,

This would be a nice feature indeed.
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.

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

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).

On Wed, Jun 20, 2012 at 12:16 AM, Harry Spier <vasishtha.spier at gmail.com>wrote:

> I tend to put a lot of comments not just at the beginning of
> procedures but also in the body of the procedures, usually above lines
> of code instead of to the right because the comments can be fairly
> long and multi-line.  This makes it easier to understand the procedure
> on the one hand but because it spreads the procedure out over several
> screens makes it harder to follow also.
> For that reason I thought a nice feature in DrRacket might be a menu
> button  to either display or hide comments, so you could see the
> comments and then click the button and disappear them and see the
> entire or most of the procedure to see the program flow.
> Thanks,
> Harry Spier
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120620/10ae01e9/attachment.html>

Posted on the dev mailing list.