The Extra Commands submenu provides access to a number of formatting commands that can be used while in an active Visual LISP text editor window.
This menu can be accessed by clicking Edit
Extra Commands or pressing Ctrl+E.
|
Text editor code formatting commands |
|
|---|---|
|
Option |
Effect |
|
Indent Block |
Indents the selected block of text by adding a tab to the beginning of each line |
|
Unindent |
Unindents the selected block of text by removing a tab |
|
Indent to Current Level |
Indents the current line to the same level as the previous line of program code |
|
Prefix With |
Adds a text string to the beginning of the current line, or to each line in a block of selected lines, after prompting you for the string |
|
Append With |
Appends a text string to selected lines of text, after prompting you for the string |
|
Comment Block |
Converts a block of code to comments |
|
Uncomment Block |
Changes a block of comments to active text |
|
Save Block As |
Copies selected text to a new file |
|
Upcase |
Converts the selected text to all uppercase |
|
Downcase |
Converts the selected text to all lowercase |
|
Capitalize |
Capitalizes the first letter of each word in the selected text |
|
Insert date |
Inserts the current date (default format is MM/DD/YY) |
|
Insert time |
Inserts the current time (default format is HH:MM:SS) |
|
Format Date/Time |
Changes the date and time format |
|
Sort Block |
Sorts the selected block of code in alphabetical order |
|
Insert File |
Inserts the contents of a text file into the current editor window at the cursor position |
|
Delete to EOL |
Erases everything from the cursor position to the end of the current line |
|
Delete Blanks |
Deletes all blank spaces from the cursor position to the first non-blank character in the line |