Visual Lisp Format Options: PROGN

Visual Lisp Format Options: PROGN

dennis
Advisor Advisor
454 Views
1 Reply
Message 1 of 2

Visual Lisp Format Options: PROGN

dennis
Advisor
Advisor

Working with the Format Options, I have found that the entry after a PROGN does not go to the next line.  So, I am getting this:

(IF (somthing)

  (PROGN (do this)

               (and do this)

  )

)

When what I want is this:

(IF (something)

  (PROGN

    (do this)

    (and do this)

  )

)

Everything else formats the 2-space indention correctly.

Let me know if you know the setting I am missing.

 

0 Likes
Accepted solutions (1)
455 Views
1 Reply
Reply (1)
Message 2 of 2

dbroad
Mentor
Mentor
Accepted solution

Either look is acceptable.  If you want to force a return just hit return and then reformat. The formatter won't force a return if the code fits on the line.

Architect, Registered NC, VA, SC, & GA.
0 Likes