Formatting Code with Visual LISP). But there are some things you may want to do by yourself.
Most indenting of program code is best handled by the VLISP automatic code formatting and Smart Indent features, and by customizing the formatter's options (see Window Attributes
Configure
Current and setting the Tab Width value. You can also use the
following keyboard shortcuts to adjust the indentation of text.
Code indentation shortcuts |
|
---|---|
To |
Do |
Adjust the indent of the current selection to the preceding AutoLISP text. |
Press SHIFT+TAB |
Clear trailing SPACE and TAB characters, insert a new line, and indent at the level of the previous non-empty line. |
Press SHIFT+ENTER |
Insert a new line without clearing trailing SPACE and TAB characters of the current line. |
Press CTRL+ENTER |