Build the strongest PHP editor [below]

Source: Internet
Author: User
Tags php editor
Through the (I) explanation, I believe that you have learned a lot about scite and many people have downloaded it from the home page. However, after using it, it seems that there are still some of the functions I mentioned. Now I will explain some useful functions.
First, let's talk about the definition and use of abbreviations.
Abbreviations are used to reduce human labor and Code Better input, faster and more correct! Run scite and select "option --> open the abbreviations File". The file that defines abbreviations should be an empty document. Let's take an example and try it out, enter the following definition information in the abbreviations file:
JS = <SCR ī PT Type = "text/javascr ī PT">/n <! --/N/T |/N // -->/n </scr limit Pt>
Note: Each definition must be in the same row.
After saving the file, create a blank document, enter Js in the document, and press Ctrl + B to see what appears? It should be the following code:
<SCR limit PT Type = "text/merge Cr limit PT">
<! --
(Cursor)
// -->
</Scr platinum Pt>
In this way, it is quick and efficient to enter the code, and it is not easy to make mistakes.
The syntax defined is very simple, that is, "abbreviation = full spelling", but pay attention to two points. One is the transfer character, that is, the Backslash "/", which is the same as the escape in C language, /n is a line feed,/t is a tab, and so on. The other is the vertical line "|", which represents the position of the cursor. Multiple vertical lines cannot appear in one definition. If there are multiple positions with the first vertical line as the cursor position, the other vertical lines are displayed as vertical lines!
Definition files of abbreviations are not found to be downloaded. However, downloading others' definitions is not suitable for you. You can continue to accumulate definitions by yourself! Below are some common examples:
PHP _ = <? PHP/n/T // insert PHPCode here./N/T |/n?>
<> _ = & Lt; | & gt;
__= & Nbsp;
For _ = for ($ I = 0; $ I <|; $ I ++) {/n/T/N}
Run scite HtmlThe code generation configuration is very simple. Select "option --> open HTML. properties ", this is the HTML syntax file, look at the last few lines of the file, this is the configuration of running the HTML suffix, if you have not set up a local server on your computer, set the value to "file: // $ (filepath)". If you have set up a local server, we recommend that you change the configuration value to "http: // localhost/$ (filenameext)" to avoid errors when uploading data to the server while running locally. This is especially true for absolute and relative paths.
If plat_win
Command. Go. $ (file. patterns. Web) = "file: // $ (filepath )"
Command. Go. subsystem. $ (file. patterns. Web) = 2
If plat_gtk
Command. Go. $ (file. patterns. Web) = Netscape "file: // $ (filepath )"
The following configuration is used to compile and run PHP code. To run PHP code, you must build a PHP platform on your machine. The configuration for running is the tutorial line, and the third line is the compilation configuration. You need to configure your PHP and php.exe path for the tutorial.
Command. Go. $ (file. patterns. php) = "http: // localhost/$ (filenameext )"
Command. Go. subsystem. $ (file. patterns. php) = 2
command. compile. $ (file. patterns. PHP) = F:/PhP5/PHP-L "$ (filenameext)"
(To be continued ...)

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.