[racket] auto-spacer

From: Jos Koot (jos.koot at telefonica.net)
Date: Mon Aug 2 11:26:02 EDT 2010

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


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

Posted on the users mailing list.