Editplus configuration note

Source: Internet
Author: User

Recently I plan to switch to the primary IDE, mainly because the Dreamweaver is too slow to occupy resources, especially when opening large files. The replacement is editplus. Below is a simple record of how to configure editplus as a programming IDE.

Preferences

No matter what the software is, you must first change the global settings, that is, the preference.

General

  • Restore the cursor/Tag/encoding method of the latest file: This must be checked, otherwise it cannotSave code folding.
  • Use XHTML labels: standardize web pages.
  • Turn off the HTML Tag automatically: After the tag is checked, "<" is entered, and the cursor is between two characters.
File

  • The default encoding method is UTF-8.
  • Using JScript as the default ASP language: This is my personal habit.
Tools

  • Network Server Configuration: Set the local directory of the server.Server PathInstead of opening the local path.
  • Select a browser: I prefer to use an external browser, and set the secondary browser to Firefox.
Tool-keyboard

I still get used to using F12 and CTRL + F12 to preview webpages in Dreamweaver, so I have to change the shortcut key.

Code folding

Code folding helps developers better view code, which is enabled in view-code folding-use code folding. As mentioned above, the Code folding can be saved only when the "Restore the cursor/Tag/encoding method of the latest file" is checked.

Automatic completion

Automatic completion is the most attractive feature of editplus. Simply put, this function calls the corresponding code through keywords.

The automatically completed syntax file is. AcpText files with the extension can be configured in preference-file-settings and syntax.

By default, JavaScript uses the Java ACP file. We can refer to the java. ACP format and write another Javascript. ACP file customized for JavaScript.

The ACP File Syntax is simple:

#TITLE=Javascript
#CASE=y

#T=function
function ^() {
}
#T=if
if (^!) {
}
#

"# TITLE"Is the title of this ACP file;"# CASE"Specifies whether the keyword is case sensitive."# T"Is the keyword. Unfortunately, it is the keyword.It cannot contain word delimiters.(Such as spaces, less than signs, and greater than signs); # t the next line to the next keyword or the end of the file is the automatically completed code, the "^" in the Code is an escape character, "^ !" The cursor position. The last "#" indicates the end.

After the acp file is configured, you only need to enter the keywords and press the space to complete the entire code segment.

Material text

Material text is actuallyCode snippetEditPlus has defined a large amount of materials, and can be added or modified as needed.

Summary

The functions I have used are just like this for the time being. EditPlus is far more simple than that. I believe that more interesting things can be found in the future.

In addition, I think EditPlus has many shortcomings:

  • The Tab is not flexible enough. You should learn from the Tab Mix Plus Plug-in of Maxthon or Firefox;
  • No smart tips. You can refer to Notepad ++ for improvement.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.