1. dialog box for setting the Autolisp code format
Tools> environment Options> visuallisp format options.
Right margin of the text: the definition field is 20-200.
Width of the narrow style indented to the right: 1-6.
Length of the first parameter of the expression. If the first parameter of the expression exceeds this length, the remaining parameters are moved to the next line. The width of a style to the left.
2. Change the code format
Tool-> set the code format in the editor. Or click.
Before change:
After modification:
3. Quick menu for formatting
Visual LISP provides a shortcut menu for format settings. Press Ctrl + E in the text editor window of the activity.
4. output the selected text to the specified file.
After the text is selected, press Ctrl + e to bring up the format orchestration shortcut menu. Select the Save block as item. The file to write block to dialog box is displayed.
Edit source code in Chapter 5th of Visual LISP (3) set the code format