Close Parenthesis Style Reference (Visual LISP IDE)

These styles control the position of the close parenthesis for multiple-line formatting styles when using the Visual LISP code formatter.

Note: The Visual LISP IDE is available on Windows only.

Indentation of the close parenthesis and code lines does not affect how the AutoLISP code executes, but can make it easier to read when modifying or debugging a program.

One of the following close parenthesis styles can be applied when formatting code in the text editor:

Close at the Same Line

Close parenthesis is placed on the last line of each expression.

Close at the New Line with Inner Indentation

Close parenthesis is placed on the next line following the last line of each expression with the inner indent.

Close at the New Line with Outer Indentation

Close parenthesis is placed on the next line following the last line of each expression with the outer indent.

Examples

The initial expression is written as:

(cond  
 ((/= (logand mask flg) 0)
 (list (list txton)))
)

Result when Close at the Same Line option is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))))

Result when Close at the New Line with Inner Indentation option is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))
       )
      )

Result when Close at the New Line with Outer Indentation is selected:

(cond ((/= (logand mask flg) 0)
       (list (list txton))
      )
)