have been using the DW, IDE and other development tools, but sometimes to develop or write some code does not need to open such a large tool;
Wind (breeze) for a long time I am more like to use EditPlus to write PHP or do some HTML, CSS, JS and other files to modify or write;
But has not been to study the function of this tool to speed up their development efficiency;
Recently and friends communicate to use this piece of tool, just know EditPlus originally also can carry out the code automatically complement congruent convenient function, so today's research, write a log and share with you;
Cut to the Chase!
First we create a file with the. ACP suffix through Notepad and put the file in the EditPlus installation directory
Open editplus-"Tools-"-Preferences-"-Files-" settings and syntax
File type Select the corresponding CSS, in the "AutoComplete" to select just put in the installation directory under the. acp file, make sure it's done.
After proper configuration, for example: just type "if" and then press the space to come out
The code is as follows |
Copy Code |
if () {
}
|
To modify according to one's own habits:
After the word "#T =" is the letter you entered in the EP, and then by the space, the following second line (until you hit the next "#T =") will automatically complete the content
"^!" is automatically completed after the mouse current position
The following is an example of a simple. ACP file content:
The code is as follows |
Copy Code |
#TITLE =php #T =if if (^!) {
} |
After you modify the completion of the. acp file, it is best to restart the editor;
More out-of-the-Box automatic completion of ACP files, you can go to the official online editplus to look for;