Implement automatic completion and function list of asp (VBScript) in EditPlus

Source: Internet
Author: User
Tags regular expression
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.
^ [] * (Public | private )? (Sub | function | property | class) []. *
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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.