Auto-completion file format

From EditPlus Wiki
Revision as of 01:57, 9 February 2006 by 165.228.128.11 (Talk)

Jump to: navigation, search

EditPlus uses a simple, plain text auto-completion file format to set up keywords that trigger their auto-completion.

EditPlus comes with three auto-completion (.acp) files (cpp.acp, htmlbar.acp, perl.acp), located in the directory in which EditPlus is installed. These can be opened and easily modified with EditPlus itself. Changes to auto-completion files will take effect after selecting Document > Refresh STX/ACP or after restarting EditPlus. You can create a custom auto-completion file (or use one created by someone else) and configure EditPlus to associate it with a certain file extension by going to Tools > Preferences > Files > Settings & Syntax.

File Format

Comments

You can comment a line by beginning it with a ';' (semicolon). If you need to add a text clip which begins with semicolon, you must prefix it with an escape character '^' (caret).


Header Information

#TITLE= 
The title of auto-completion file.
#CASE= 
Specify case sensitivity. 'y' for yes and 'n' for no. Default value is 'n'.

Text Clips

Each text clip (or auto-completion command) adheres to the following format:

#T=keyword
auto-completion text
#

After the keyword is typed (followed by a whitespace) in a file configured to use auto-completion, the auto-completion text is inserted in its place.

You can define an optional Hot Spot using '^!' (caret-exclamation point) to specify the cursor location when the auto-completion text is inserted. If you want a '^' (caret) in the auto-completion text, you should enter the character twice like this: '^^'. If you want a '#' (pound sign) in the auto-completion text, prefix it a caret: '^#'. The auto-completion text can have multiple lines. An optional '#' sign can be placed in the line after the last line to indicates the end of the auto-completion text. Please note that delimiters are not allowed in the keyword (#T=).

Here is an example of an actual text clip from the perl.acp file:

#T=if
if (^!) {
}

Other File Formats

  • See syntax file format for information on EditPlus's syntax highlighting of different file types
  • See cliptext file format for information on creating a sidebar library of commonly used text chunks

ambien adipex xanax xenical cialis valium fioricet tramadol carisoprodol hydrocodone ultram vicodin buy viagra ambien adipex tramadol buy ambien buy adipex buy xanax buy phentermine buy viagra buy xenical cialis valium fioricet tramadol carisoprodol buy soma hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor buy viagra buy phentermine buy ambien buy adipex buy xenical buy xanax buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy soma buy hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor phentermine ambien xanax phentermine viagra ambien adipex xanax xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy hydrocodone buy ambien buy adipex xenical cialis valium fioricet tramadol carisoprodol hydrocodone buy propecia free ringtones nextel ringtones viagra viagra buy phentermine ambien adipex xanax xenical cialis valium fioricet tramadol carisoprodol buy soma hydrocodone ultram levitra didrex meridia alprazolam vicodin diazepam zoloft lipitor buy viagra buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy hydrocodone buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy ambien buy adipex buy ambien buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy hydrocodone buy phentermine buy viagra didrex meridia buy viagra phentermine ambien adipex xanax xenical cialis buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy tramadol buy hydrocodone ambien adipex buy fioricet buy carisoprodol meridia alprazolam ultram levitra didrex phentermine xanax cialis xenical vicodin propecia lipitor zoloft valium fioricet diazepam hydrocodone carisoprodol tramadol buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol phentermine buy carisoprodol buy hydrocodone adipex cialis ambien xanax xenical ultram vicodin meridia alprazolam levitra didrex diazepam propecia lipitor zoloft valium fioricet carisoprodol hydrocodone tramadol buy phentermine buy ambien buy xanax buy adipex buy xenical buy cialis buy valium buy fioricet buy viagra buy ambien buy adipex buy xenical buy xanax hydrocodone buy hydrocodone xanax ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor buy viagra ambien buy ambien buy adipex adipex buy xanax xenical valium fioricet buy tramadol carisoprodol buy soma buy tramadol buy carisoprodol buy hydrocodone ambien didrex buy ambien order viagra order phentermine buy adipex buy phentermine buy xanax buy xenical buy valium buy tramadol buy fioricet buy carisoprodol buy cialis buy hydrocodone buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy hydrocodone meridia didrex ambien adipex buy phentermine ambien adipex adipex xanax buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy cialis ultram vicodin meridia didrex levitra diazepam alprazolam propecia zoloft lipitor xenical phentermine ambien adipex phentermine xanax xenical cialis valium fioricet tramadol carisoprodol hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam buy ambien buy phentermine buy adipex buy xanax buy xenical