Balancing Parentheses Reference (Visual LISP IDE)

The Visual LISP code formatter can be used to identify and add missing parentheses to the code in the text editor window.

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

Parentheses added by the code formatter might not be placed in the correct locations. However, it might be best walk through your code and determine which parentheses are missing and insert them in the correct location.

Match Forward
Moves the cursor just past the close parenthesis that matches an open parenthesis.

If the current cursor position is just before an open parenthesis, Visual LISP matches that parenthesis with its closing parenthesis. If the cursor position is in the middle of an expression, Visual LISP matches the current expression's open parenthesis with its closing parenthesis.

Match Backward
Moves the cursor just before the open parenthesis that matches a close parenthesis.

If the current cursor position is just after a close parenthesis, Visual LISP matches that parenthesis with its opening parenthesis. If the cursor position is in the middle of an expression, Visual LISP matches the current expression's close parenthesis with its open parenthesis.

Select Forward
Moves the cursor as the Match Forward tool does, but also selects all text between the start and end positions.

With the cursor positioned right before an open parenthesis, double-clicking also selects all text up to the matching close parenthesis, but does not move the cursor.

Select Backward
Moves the insertion point as the Match Backward command does, but also selects all text between the start and end positions.

With the cursor positioned right after a close parenthesis, double-clicking also selects all text up to the matching open parenthesis, but does not move the cursor.