Home  >  Article  >  Web Front-end  >  EditPlus automatic completion, template configuration_html/css_WEB-ITnose

EditPlus automatic completion, template configuration_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:001568browse

EditPlus is really a very easy-to-use editor. Although it is small, it is short, concise and fast. As long as it is configured properly, the function is also very powerful. Let’s summarize how to configure EditPlus’ auto-completion and template configuration.

1. Configure automatic completion: (take developing CSS as an example)

1. Click the orange checkmark in the toolbar above

(or click Tools-> Preferences)

2. Click Settings&syntax on the left in the pop-up box, and then follow the prompts in the picture.

3. Write css.acp file

Format: #T=BG

background: ^!

BG represents itself Set the shortcut key, ^! indicates the position of the cursor. When you enter BG and then press space or enter, background: the cursor position will appear.

This is my css.acp:

; CSS 自动补全配置文件 by pmm, 2015/7/26#T={ {		^!}#T=Bborder: ^!#T=BTborder-top: ^!#T=BLborder-left: ^!#T=BRborder-right: ^!#T=BBborder-bottom: ^!#T=Ccolor: ^!#T=Ffont: ^!#T=BGbackground: ^!#T=BCbackground-color: ^!#T=PApadding: ^!#T=PLpadding-left: ^!#T=PRpadding-right: ^!#T=PTpadding-top: ^!#T=PBpadding-bottom: ^!#T=MAmargin: ^!#T=MLmargin-left: ^!#T=MRmargin-right: ^!#T=MTmargin-top: ^!#T=MBmargin-bottom: ^!#T=FLfloat: ^!#T=WIwidth: ^!#T=HEheight: ^!#T=POposition: ^!#T=ABabsolute; ^!#T=ALPHAfilter:alpha(opacity: ^!)opacity:#T=FSfont-size: ^!#T=TAtext-align: ^!#T=DIdisplay: ^!#T=VIvisibility: ^!#T=LHline-height: ^!#T=CLclear: ^!#T=RIright^!#T=LEleft^!#T=RErelative^!#T=OFoverflow: ^!#T=HIhidden^!#T=FFfont-family: ^!#T=FSIfont-size: ^!#T=FCfont-color: ^!#T=TItext-indent: ^!#T=LSlist-style: ^!#T=TDtext-decoration: ^!

 

2. Configuration template: (Take developing HTML as an example)

1. Click the orange check mark in the toolbar above (or click Tools->Preferences)

2. In the pop-up dialog box, click Templates on the left, and then follow the prompts below Just do it.

Then edit the template.html file template in the EditPlus editor and save it. Restart EditPlus to use the template you just configured.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn