Long List Format Style Reference (Visual LISP IDE)

The Visual LISP code formatter can position elements of long lists into columns.

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

This style is appropriate for formal arguments in defun, lambda, or quoted lists containing more than five elements. The Long List format style applies to lists that do not fit on a single line (within the Right Text Margin).

For example, the following text:

(list "1/32" "1/16" "1/8" "1/4" "3/8" "1/2" "5/8" "3/4" "7/8" "1" "1 1/4" "1 1/2" "1 3/4" "2")

would be displayed as:

(list "1/32"   "1/16"
      "1/8"    "1/4"
      "3/8"    "1/2"
      "5/8"    "3/4"
      "7/8"    "1"
      "1 1/4"  "1 1/2"
      "1 3/4"  "2"
     )

The Long List format style is set in the Format Options dialog box. Click More Options and select one of the available options to apply when formatting code in the text editor.

Note: The Preserve Existing Line Breaks option, if selected, may supersede the formatting indicated by Long List format style.

Single column formatting Items are formatted into a single column.

Single column formatting

Items are formatted into a single column.

(list "1/32" "1/16" … "2")

(list "1/32"
      "1/16"
      …
      "2"
)

2-column formatting

Items are formatted into two columns.

(list "1/32" "1/16" … "2")

(list "1/32"   "1/16"
      …  "2"
     )

Multi-column formatting

Items are formatted equally across multiple columns and rows.

(list "1/32" "1/16" … "2")

(list "1/32" …   "1/16"
      …      …   "2"
     )

Fill-to-margin formatting

Items are formatted across multiple columns and rows. The columns are compressed to fit within the specified right margin of the text editor.

(list "1/32" "1/16" … "2")

(list "1/32"   …   "1/16"
      …        …   "2"
     )