兄弟们,editplus的asp自动完成文件来了!!!!!!

把下面的文件保存成acp格式的文件,然后指定为asp文件的自动完成文件即可.可以根据需要自定义完成内容。使用时只要输入关键字,加上一个空格,即可自动完成,如果想自定义,可以这样:
#T=关键字
自动完成的内容
^!代表自动完成后光标出现的位置.
例如,想输入“if”加空格后自动输出if () then,并且让光标在括号里,就可以这样定义:
#T=if
if (^!) then
怎么样,是不是很简单?赶快试试吧。
asphtml.acp

#TITLE=WML 1.1
; Version 1.0
; EditPlus auto-completion file
#CASE=n
; WML Elements
#T=?xml

#T=DOCTYPE

#T=xml:lang
xml:lang="^!"
#T=!--

#T=wml

1<wml>   
2^!   
3</wml>

#T=access

1<access></access>

#T=card

1<card title="^!">
2</card>

#T=button

1<input name="^!" onclick="javascript:" type="button"/>

#T=submit

1<input type="submit" value="^!"/>

#T=text

1<input name="^!" type="text" value=""/>

#T=select

1<select name="^!">
2<option value="^!"></option>
3<option value=""></option>
4<option value=""></option>
5<option value=""></option>
6<option value=""></option>
7</select>

#T=do
do while
^!
loop
#T=head

1<head>
2<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
3<meta content="0" http-equiv="expires"/>
4</head>

#T=go

1<go href="^!"></go>

#T=meta

 1<meta content="" name="^!">   
 2#T=onevent   
 3<onevent type="^!">
 4</onevent>   
 5#T=noop   
 6<noop></noop>   
 7#T=prev   
 8<prev></prev>   
 9#T=postfield   
10<postfield name="^!" value=""></postfield>   
11#T=refresh   
12<refresh>   
13^!   
14</refresh>   
15#T=setvar   
16<setvar name="^!" value=""></setvar>   
17#T=template   
18<template>   
19^!   
20</template>   
21#T=timer   
22<timer value="^!"></timer>   
23; WML Attributes   
24#T=accept-charset   
25accept-charset="^!"   
26#T=columns   
27columns="^!"   
28#T=content   
29content="^!"   
30#T=class   
31class="^!"   
32#T=domain   
33domain="^!"   
34#T=forua   
35forua="^!"   
36#T=anchor   
37<a href="javascript:^!"></a>   
38#T=http-equiv   
39http-equiv="^!"   
40#T=id   
41id="^!"   
42#T=label   
43label="^!"   
44#T=method   
45method="^!"   
46#T=name   
47name="^!"   
48#T=newcontext   
49newcontext="^!"   
50#T=onenterbackward   
51onenterbackward=^!"   
52#T=onenterfoward   
53onenterfoward=^!"   
54#T=ontimer   
55ontimer="^!"   
56#T=ordered   
57ordered="^!"   
58#T=path   
59path="^!"   
60#T=scheme   
61scheme="^!"   
62#T=sendreferer   
63sendreferer="^!"   
64#T=src   
65src="^!"   
66#T=Script   
67<script language="JavaScript">   
68<!--   
69^!   
70//-->   
71</script>   
72#T=onError   
73On Error Resume Next   
74#T=title   
75title="^!"   
76#T=type   
77type="^!"   
78#T=value   
79value="^!"   
80  
81#T=Language   

@ Language=VBScript

 1#T=velseif   
 2if ^! then   
 3  
 4Else If ( ) then   
 5  
 6Else   
 7  
 8End if   
 9#T=vIf   
10if ^! then   
11^!   
12end if   
13#T=velse   
14if ^! then   
15  
16else   
17  
18end if   
19#T=Option   
20<option value="^!"></option>   
21#T=each   
22For Each ^! In ( )   
23"asp code go here   
24Next   
25  
26#T=vcase   
27Select Case (^!)   
28Case   
29  
30Case   
31  
32END Select   
33  
34#T=until   
35Do   
36"asp code go here   
37Loop Until (^!)   
38  
39#T=While   
40While (^!)   
41  
42Wend   
43#T=Clear   
44Response.Clear   
45  
46#T=End   
47Response.End   
48  
49#T=Flush   
50Response.Flush   
51  
52#T=Red   
53Response.Redirect("^!")   
54  
55#T=Write   
56Response.Write("^!")   
57#T=Buffer   

Response.Buffer="true"

1#T=Cmm   
2<!--#INCLUDE FILE= "../Cmm/global/adovbs.inc"-->
3<!--#INCLUDE FILE= "../Cmm/global/cmm.inc"-->   
4#T=Output   

=^!

 1#T=Request   
 2if Request("^!")&lt;&gt;"" then   
 3=Request("^!")   
 4end if   
 5#T=Sesi   
 6Session("^!")   
 7#T=Cnn   
 8Set cnn=Server.CreateObject("ADODB.Connection")   
 9cnn.Open STR_INTRANET   
10sql="^!"   
11Set ConnObj=nothing   
12#T=Rs   
13Set RSObj^! = Server.CreateObject("ADODB.Recordset")   
14#T=eExecute   
15Server.Execute("^!")   
16#T=Open   
17RSObj.Open sql,ConnObj,adopenstatic   
18if not RSObj.eof then   
19while not RSObj.eof   
20^!   
21wend   
22end if   
23RSObj.close   
24#T=Include   
25<!--#include file="../include/^!"-->   
26#T=ASP   

^!

 1#T=Table   
 2<table align="center" bgcolor="^!" border="0" cellpadding="0" cellspacing="0">
 3<tr align="center">
 4<td align="center">^!</td>
 5</tr>
 6</table>   
 7#T=Tr   
 8<tr align="center">
 9</tr>   
10#T=Td   
11<td align="center">^!</td>   
12#T=image   
13<input alt="" src="^!" type="image"/>   
14#T=frame   
15<frameset cols="^!" rows=""></frameset>   
16#T=src   
17<img alt="" border="0" height="" src="^!" width=""/>   
18#T=Form   
19<form action="" language="javascript" method="" name="^!" onsubmit="return isok()">
20</form>   
21#T=func   
22function ^!()   
23{   
24  
25}   
26#T=Link   
27&lt;link rel=</meta>
Published At
Categories with Web编程
comments powered by Disqus