On 11/04/2011 01:20 AM, José Lopes wrote:
Hello everyone,

I would like to tell the editor how to indent a particular piece of code.
For example, I have this

(move-z box-height
(cube 1))

But I would like to have this

(move-z box-height
(cube 1))

Is there a way to tell the editor how to indent?

Look in Edit -> Preferences in the Editing tab. You probably want to add move-z to "Lambda-like Keywords". This will give you indentation like:

(move-z box-height
  (cube 1))

(move-z
    box-height
  (cube 1))

--
Brian Mastenbrook
[email protected]
http://brian.mastenbrook.net/

_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to