+1, I do this often in my code (in which case I don't touch auto-redent-all)
Jos


  _____  

From: users-boun...@racket-lang.org [mailto:users-boun...@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

Reply via email to