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

fxbird 2003-08-24 10:44:34
把下面的文件保存成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
<?xml version="1.0"?>
#T=DOCTYPE
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
#T=xml:lang
xml:lang="^!"
#T=!--
<!--^!-->
#T=wml
<wml>
^!
</wml>
#T=access
<access/>
#T=card
<card title="^!">

</card>
#T=button
<input type="button" name="^!" onclick="javascript:">
#T=submit
<input type="submit" value="^!">
#T=text
<input type="text" name="^!" value="">
#T=select
<select name="^!">
<option value="^!"></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
</select>
#T=do
do while
^!
loop
#T=head
<head>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="expires" content="0">
</head>
#T=go
<go href="^!"/>
#T=meta
<meta name="^!" content=""/>
#T=onevent
<onevent type="^!">

</onevent>
#T=noop
<noop/>
#T=prev
<prev/>
#T=postfield
<postfield name="^!" value=""/>
#T=refresh
<refresh>
^!
</refresh>
#T=setvar
<setvar name="^!" value=""/>
#T=template
<template>
^!
</template>
#T=timer
<timer value="^!"/>
; WML Attributes
#T=accept-charset
accept-charset="^!"
#T=columns
columns="^!"
#T=content
content="^!"
#T=class
class="^!"
#T=domain
domain="^!"
#T=forua
forua="^!"
#T=anchor
<a href="javascript:^!" ></a>
#T=http-equiv
http-equiv="^!"
#T=id
id="^!"
#T=label
label="^!"
#T=method
method="^!"
#T=name
name="^!"
#T=newcontext
newcontext="^!"
#T=onenterbackward
onenterbackward=^!"
#T=onenterfoward
onenterfoward=^!"
#T=ontimer
ontimer="^!"
#T=ordered
ordered="^!"
#T=path
path="^!"
#T=scheme
scheme="^!"
#T=sendreferer
sendreferer="^!"
#T=src
src="^!"
#T=Script
<script language="JavaScript">
<!--
^!
//-->
</script>
#T=onError
On Error Resume Next
#T=title
title="^!"
#T=type
type="^!"
#T=value
value="^!"

#T=Language
<%@ Language=VBScript %>
#T=velseif
if ^! then

Else If ( ) then

Else

End if
#T=vIf
if ^! then
^!
end if
#T=velse
if ^! then

else

end if
#T=Option
<option value="^!"></option>
#T=each
For Each ^! In ( )
"asp code go here
Next

#T=vcase
Select Case (^!)
Case

Case

END Select

#T=until
Do
"asp code go here
Loop Until (^!)

#T=While
While (^!)

Wend
#T=Clear
Response.Clear

#T=End
Response.End

#T=Flush
Response.Flush

#T=Red
Response.Redirect("^!")

#T=Write
Response.Write("^!")
#T=Buffer
<%Response.Buffer="true"%>
#T=Cmm
<!--#INCLUDE FILE= "../Cmm/global/adovbs.inc"-->
<!--#INCLUDE FILE= "../Cmm/global/cmm.inc"-->
#T=Output
<%=^! %>
#T=Request
if Request("^!")<>"" then
=Request("^!")
end if
#T=Sesi
Session("^!")
#T=Cnn
Set cnn=Server.CreateObject("ADODB.Connection")
cnn.Open STR_INTRANET
sql="^!"
Set ConnObj=nothing
#T=Rs
Set RSObj^! = Server.CreateObject("ADODB.Recordset")
#T=eExecute
Server.Execute("^!")
#T=Open
RSObj.Open sql,ConnObj,adopenstatic
if not RSObj.eof then
while not RSObj.eof
^!
wend
end if
RSObj.close
#T=Include
<!--#include file="../include/^!"-->
#T=ASP
<% ^! %>
#T=Table
<table align="center" border="0" cellpadding="0" cellspacing="0" bgcolor="^!">
<tr align="center">
<td align="center">^!</td>
</tr>
</table>
#T=Tr
<tr align="center">
</tr>
#T=Td
<td align="center">^!</td>
#T=image
<input type="image" src="^!" alt="">
#T=frame
<frameset cols="^!" rows=""></frameset>
#T=src
<img src="^!" alt="" width="" height="" border="0">
#T=Form
<form language="javascript" name="^!" method="" action="" onsubmit="return isok()">
</form>
#T=func
function ^!()
{

}
#T=Link
<link rel="stylesheet" href="^!.css">
#T=Hidden
<input type="hidden" name="" value="">
#T=Style
<style type="text/css">
<!--
.^!{
font-family:
color:
font-size:
font-weight:
text-decoration:
}
-->
</style>
#T=Location
document.location="^!"
#T=alert
alert("^!");
#T=Font
<FONT FACE="^!" color="" size="">
</FONT>
#T=Window
var myfile="^!";
var mywind=window.open(myfile,"Title" , "width=600, height=250 , scrollbars=yes, screenX=0,
screenY=0, left=100, top=200");
#T=body
<body bgcolor="^!">
</body>
#T=Html
<html>
</html>
#T=Div
<div></div>
#T=for
for ^!
^!
next
#T=query
request.querystring("^!")
#T=wcook
response.cookies("^!")
#T=rcook
request.cookies("^!")
#T=href
<a href="^!"></a>
#T=rsclose
#T=.form
request.form("^!")
#T=sub
sub ^!()

end sub
#T=function
function ^!()

end function
#T=isok
function isok()
{
^!
}
#T=rsclose
if isobject(rs) then
if rs.state=0 then
set rs=nothing
elseif rs.state=1 then
rs.close
set rs=nothing
end if
end if
if isobject(cnn) then
if cnn.state=0 then
set cnn=nothing
elseif cnn.state=1 then
cnn.close
set cnn=nothing
end if
end if
#T=hlo
alert("hello");
#T=rsexe
set rs=cnn.execute(sql,,adcmdtext)
#T=cnnexe
cnn.execute sql,,adcmdtext
#T=rsopen
rs.open sql,cnn,1,2,adcmdtext
#T=opentbl
call open_tbl(rs,cnn,"^!","","","","")
#T=split
split(^!,"")
#T=ubound
ubound(^!)
#T=repl
document.location.replace("^!");
#T=jif
if (^!)
#T=jelse
if (^!)

else

#
...全文
190 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
fxbird 2003-08-28
  • 打赏
  • 举报
回复
没人跟贴?
makay 2003-08-26
  • 打赏
  • 举报
回复
收藏!
up
fxbird 2003-08-26
  • 打赏
  • 举报
回复
to aiailove:
1.工具,参数选择,设置和语法,添加扩展名为asp的文件,并填写好描述,指定自动完成文件。
2.不是包含文件,它也是自动完成的内容。
pp4u 2003-08-26
  • 打赏
  • 举报
回复
强烈支持。
aiailove 2003-08-24
  • 打赏
  • 举报
回复
请问 把下面的文件保存成acp格式的文件,然后指定为asp文件的自动完成文件即可;
1这句话中的指定ASP文件的自动完成文件如何操作
2里面有一些INCLUDE文件,这些文件在那里啊
eafin 2003-08-24
  • 打赏
  • 举报
回复
不错!偶正在使用test中...
继上一个版本之后再次放出一个最新版,上一个版本的地址是http://download.csdn.net/download/sibang/4636245 上一个版本放出之后收到了大家的好评,曾一度进入了CSDN的下载排行榜,这次放出的是最新的3.5版,希望大家喜欢.下边是一些注意事项. 讨论或交流:QQ群(223494678)(16648471) 我的网站:http://www.7di.net EditPlus3.5 绿色+汉化+特别版 安装方法: 不需要安装,直接解压缩就能用.如果不能用你就双击 !)注册.reg 导入注册文件即可. 解压缩之后一定要放到 D:\soft\EditPlus 下,这样的话就不会出错,而且不需要修改配置 如果你不想放到 D:\soft\EditPlus 文件夹下,那么你就需要自己修改一下ini文件的配置,把其中的路径修改正确即可. 自定义自动完成脚本的注意事项: 如果修改完 STX 文件夹下的 ACP 文件之后重启 Editplus 还是无法进行自动完成操作,则说明 ACP 文件保存时所选的编码格式错误,你需要重新将其保存为 PC 专用的 ANSI 编码格式. 文件类型说明: acp: 自动完成 ctl: 素材 stx: 着色 tlx: 拼写检查 文件详情说明: D:\soft\EditPlus>type tmp.txt 驱动器 D 中的卷是 D 卷的序列号是 1804-52F7 D:\soft\EditPlus 的目录 2010-07-26 13:01 4,195 codepage.txt 代码页 2005-11-18 23:50 20,531 Tips.txt 快捷键说明 2008-05-23 22:31 101 !)卸载.reg 卸载 2009-07-28 10:14 802 !)注册.reg 注册 2001-04-08 09:58 7,168 KeyGen.exe 注册机 2011-02-21 04:03 INI 配置文件夹 2011-02-21 04:03 STX 语法文件夹 2011-11-17 14:09 @ 老版本备份 2010-05-21 22:05 244,181 editplus.chm 帮助 2011-11-12 09:39 1,973,248 EditPlus.exe 主程序 2011-11-09 12:11 43,104 eppie.exe 2011-11-09 12:11 61,544 eppshell64.dll 2011-11-09 12:11 60,008 eppshell.dll 2011-11-09 12:11 45,160 eppshellreg.exe 2011-11-09 12:11 43,112 launcher.exe 协议 2011-08-08 14:16 1,148 license.txt 协议书 请按任意键继续. . .

28,408

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧