About Insert Form-Closing Comment Style (Visual LISP IDE)

The Visual LISP code formatter can add a comment following the close of an expression.

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

For the code formatter to add the comment at the end of an expression, the Insert Form-Closing Comment option must be enabled along with the Closing Parenthesis Style format set to either Close At the New Line with Inner Indentation or Close At the New Line with Outer Indentation.

The comment inserted after each multiple line function has the following form

;_ <comment prefix> <function name>

The comment is not added if an inline-comment, single-semicolon comment, or pasted-comment exists after the function call. You can change the comment text by entering a different text string in the Form-Closing Comment Prefix box of the Format Options dialog box.

Example

Initial text:

(autoarxload "image"
           '("gifin" "pcxin" "riaspect" "ribackg" "riedge"
"rigamut" "rigrey"  "rithresh" "tiffin"))

Formatted text:

(autoarxload "image"
         '("gifin"      "pcxin"      "riaspect"
           "ribackg"    "riedge"     "rigamut"
           "rigrey"     "rithresh"   "tiffin"
          )
) ;_ end of autoarxload

Note the _ end of autoarxload comment in the last line of code.