1 Star 0 Fork 14

xxbaby / eclick

forked from wanghr / eclick 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
new_file.eclick 5.01 KB
一键复制 编辑 原始数据 按行查看 历史
Administrator 提交于 2016-11-18 21:40 . all new by wanghuarong 20161118
<html>
<head><meta charset="UTF-8">
<style type="text/css">
td{
font-size:11px;
}
</style>
</head>
<body>
插件使用API:<br/>
<hr/>
插件服务地址:http://localhost:2016/ 参数API如下
<hr/>
<table style="width:80%;" border="1">
<tr>
<td width="20" rowspan="4">1</td>
<td width="200">scope</td>
<td width="600">
搜索范围,多个范围以分号分隔,例如"\sss\src;\twoj;/eclick/src/sssex/Activator.java"
其中路径符号"/"和"\"无所谓可以混合使用也可以使用一种,即可以\sss/src也可以/sss/src也可以\sss\src
表示将依次搜索sss项目下src目录中的所有文件,以及twoj项目,以及eclick项目中的Activator.java类文件
</td>
<td rowspan="4">
&nbsp;例如:&lt;a href="http://localhost:2016/?scope=\eclick\src&string=import" target="noframe"&gt;import&lt;/a&gt;<BR/>
这个超链接表示在eclick项目的src目录中搜索所有文件中的import字符串
</td>
</tr>
<tr>
<td width="200">string</td>
<td>搜索字符串,不能包含与超链接冲突的字符例如"?","="</td>
<td></td>
</table>
<br/>
<table style="width:80%;" border="1">
<tr>
<td width="20">2</td>
<td width="200">bookmark</td>
<td width="">&lt;a href="http://localhost:2016/?bookmark=/eclick/src/webx/actions/Test.java|18|11:14 queryBill"&gt;queryBill&lt;/a&gt;将在Test.java第18行创建一个bookmark书签</td>
</tr>
</table>
<br/>
<table style="width:80%;" border="1">
<tr>
<td width="20">3</td>
<td width="200">bookmarkfile</td>
<td width="">&lt;a href="http://localhost:2016/?bookmakfile=C:\Users\Oraro-CQ-PC4\Downloads\eclick\src\webx\actions\log.txt" target="noframe"&gt;导入bookmark文件&lt;/a&gt;
<fieldset>
<legend>log.txt</legend>
/eclick/src/webx/actions/Test.java|18|11:14 queryBill<br>
/eclick/src/webx/actions/Test.java|16|11:12 queryBill<br>
/eclick/src/webx/actions/Test.java|17|11:13 queryBill<br>
</fieldset>(和bookmark类似但是是按bookmark格式批量导入书签)
</td>
</tr>
</table>
<br/>
<table style="width:80%;" border="1">
<tr>
<td width="20">4</td>
<td width="200">openfile</td>
<td width="">&lt;a href="http://localhost:2016/?openfile=\eclick\new_file.eclick"&gt;queryBill&lt;/a&gt;将\eclick\new_file.eclick文件在eclipse中打开</td>
</tr>
</table>
<br/>
<span>OSC地址:</span><a href="http://www.oschina.net/p/eclick" target="_blank">http://www.oschina.net/p/eclick</a>
<br/>
<br/>
<!-- 影藏iframe的存在是为了让超链接不产生跳转,保持点击超链接始终停留在本页面 -->
<iframe style="display:none;" name="noframe"></iframe>
<span>搜索关键字demo:</span>
<br/>
<div>
(1)触发式搜索<a href="http://localhost:2016/?scope=/eclick&string=package" target="noframe" >package</a>点击将搜索项目中package关键字
</div>
<div>
(2)动态创建书签<a href="http://localhost:2016/?bookmark=/eclick/new_file.eclick|20|测试" target="noframe">/eclick/new_file.eclick|20|测试</a>在文件“/eclick/new_file.eclick”第20行创建一个bookmark
</div>
<div>
(3)导入书签<a href="http://localhost:2016/?bookmakfile=D:\log.txt" target="noframe">将bookmark文件”D:\log.txt“导入eclipse</a>
<fieldset>
<legend>D:\log.txt</legend>
/eclick/src/webx/actions/Test.java|18|11:14 queryBill<br>
/eclick/src/webx/actions/Test.java|16|11:12 queryBill<br>
/eclick/src/webx/actions/Test.java|17|11:13 queryBill<br>
</fieldset>
</div>
<div>
(4)政企障碍申告<br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?openfile=/eclick/plugin.xml" target="noframe">将/eclick/plugin.xml文件在eclipse中打开</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?openfile=/zxcc/webapp/sctelecom/cdma_faultask.jsp" target="noframe">将cdma_faultask.jsp文件在eclipse中打开</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?scope=/zxcc/src/com/zte/zxcc/webinout/service/LogicService.java&string=insertNewCDMABug" target="noframe">将LogicService.java文件在eclipse中打开</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?scope=/zxcc/src/com/zte/zxcc/webinout/service/LogicService.java&string=insertCDMABugLog" target="noframe">insertCDMABugLog</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?scope=/zxcc/src/com/zte/zxcc/webinout/service/LogicService.java&string=insertCDMABugSlaveLog" target="noframe">insertCDMABugSlaveLog</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?scope=/zxcc/src/com/zte/zxcc/webinout/service/LogicService.java&string=insertNewCDMAScanBug" target="noframe">insertNewCDMAScanBug</a><br>
&nbsp; &nbsp; &nbsp;点击打开文件<a href="http://localhost:2016/?scope=/zxcc/webapp/sctelecom/imsapp_wideserv.jsp&string=memo" target="noframe">公众类障碍申告催单</a><br>
</div>
</body>
</html>
Java
1
https://gitee.com/xxbaby/eclick.git
git@gitee.com:xxbaby/eclick.git
xxbaby
eclick
eclick
master

搜索帮助