[racket] auto-spacer

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Mon Aug 2 11:35:24 EDT 2010

I saw this on the Internets a while ago:


I thought it was pretty clever... it could be relevant here. There's a demo about half way down the page.

-- Dave

On 2 Aug 2010, at 16:26, Jos Koot wrote:

> +1, I do this often in my code (in which case I don't touch auto-redent-all)
> Jos
> From: users-bounces at racket-lang.org [mailto:users-bounces at racket-lang.org] On Behalf Of Laurent
> Sent: 02 August 2010 17:19
> To: PLT-Scheme Mailing List
> Subject: [racket] auto-spacer
> Speaking of DrRacket UI, one thing that I'd really appreciate is an "auto-spacer" for `define' and `let'.
> Let me explain what I mean.
> I often have things like:
> (define something 3)
> (define some-other-thing 4)
> (define whatever-you-like 42)
> ....
> And I like the right-hand-side to be aligned to make it more readable:
> (define something         3)
> (define some-other-thing  4)
> (define whatever-you-like 42)
> ....
> (to be read it with a constant-width font of course).
> This also happens quite a lot within `let' forms.
> So of course I do it by hand, but if someone has already done a tool for that or knows how to do it, that would be wonderful.
> I don't know how easy that would be though...
> Maybe something that works only on the selected lines.
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100802/cd67a64f/attachment.html>

Posted on the users mailing list.