Editplus is one of my commonly used file editors. It is very convenient to use it for script programs. Let's take a look at the configuration below:
1. Download editplus.exe from www.editplus.com, and install editplus.exe one step at a time. The trial period is only 30 days.
2. to configure the python environment, go to www.editplus.com to download the python configuration environment, and download the corresponding version. (Download python. ACP andPython.STXThese two feature files: http: // www.Editplus. Com/files/pythonfiles.zip)
1): Open editplus, tool -- "preference --" user tool
Click the group name and rename Tool Group 1 to Python.
Menu text: Python
Command Line: Python installation location
Parameter: $ (filename)
Initial Directory: $ (filedir)
# The steps above are used to allow editplus to find the python environment and path of the running file.
Click capture output and enter the regular expression file "(. +)", line ([0-9] +)
Marking expression, file name = "expression 1, line =" expression 2
# To view the function list
2): tool -- "Preference =" Syntax
Click Add
Description: Python.
File Extension: py
Syntax file: browse python. STX In the python configuration file just downloaded
Automatic completion: browse python. ACP in the python configuration file just downloaded
Click the tab and change it to four spaces.
Click the function template. The regular expression of the function template is [\ s] * def [\ s]. +:
3): tool -- "Preference =" template
Browse your own template file and name it template. py
# My template file is as follows:
# Coding = utf8
If _ name _ = '_ main __':
Pass
4): Create test. py.
Press Ctrl + 1 to view the output result. Press Ctrl + F11 to view the function list.
3. The configuration process of Lua is similar to that of Python. Only different places are listed below.
1): Compared with the python configuration above
The installation path of Lua is different.
Click capture output. The input regular expression is different. Configure Lua as follows:
^ (.: \. *) :( [0-9]):. *
2): Compared with the python configuration above
Different syntax file paths
If the regular expression of the function list is different, configure Lua
Function [\ s] * [\ s] *
3): Compared with the python configuration above
Suffix:. Lua
4): set your own template
It is lightweight and convenient to use editplus to write scripts.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/hong201/archive/2009/04/27/4126138.aspx
Reference: http://blogold.chinaunix.net/u/8780/showart.php? Id = 165433
Note:
1. *. CTL (clip file)
For example, adding functions, special characters, and other things can be quickly inserted directly from the material.
2. *. ACP (automatically complete the file)
Automatically fills in certain programming language or script statements, such as if or for or parentheses.
3. *. STX (syntax file)
Edit various languages or script syntax
4. template. * (template file)
A reference format for writing scripts or programs