Implement Automatic completion and function list of ASP (VBScript) in editplus

Source: Internet
Author: User

Editplus is my most commonly used ASP/html/CSS development tool.
However, it only supports the Automatic completion and function list of C/C ++ systems, and does not have the built-in ASP (VBScript) functions. To facilitate work, I simply implemented these two functions by imitating the original configuration file.

Create an ASP. ACP file first.
--------------------------------------
# Title = ASP/Vb
; Editplus auto-completion file V1.0 written by snowalk. HD.
; This file is provided as a default auto-completion file for ASP/VBScript/VB.

# Case = N

# T = if
If ^! Then
End if
# T = while
While ^!
Wend
# T =
For ^ !, ,
Next
# T = select
Select case ^!
Case

End select
# T = do
Do while
^!
Loop
# T = Class
Class ^!
End Class
# T = Function
Function ^!
End Function
# T = sub
Sub ^!
End sub
#
---------------------------------------

Edit> preferences> files> setting & syntax
Select HTML in file types on the right
In auto completion in the lower right, enter the path where ASP. ACP is located, and ASP (VB) can be automatically completed.

For the function list function, write the following regular expression in function pattern.
^ [\ T] * (Public | private )? (Sub | function | property | class) [\ t]. *
If you want to quickly locate a large number of functions and process ASP files based on the function or process name like VB6, press Ctrl + F11 to bring up the function List dialog box.

Related Article

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.