Edit source code in Chapter 5th of Visual LISP (3) set the code format

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.