[转载] 让SciTE能够和IDE一样进行成员提示
2007-04-11 11:28
423 查看
原文链接:http://karronqiu.spaces.live.com/?_c11_BlogPart_FullView=1&_c11_BlogPart_blogpart=&_c=BlogPart&partqs=amonth%3D11%26ayear%3D2005
让SciTE能够和IDE一样进行成员提示
今天发现SciTE可以和IDE一样在输入"."之后显示系统API的成员.本文最后的英文介绍了怎样生成供SciTE使用的API文件.当然你也可以下载别人生成的API.我一般用SciTE编写Python代码,那么我就用怎么使用python.api为例来介绍.首先下载下面的生成python API的脚本,双击运行,运行完成之后会生成一个python.api的文件,将python.api拷贝到scite的目录中,然后在SciTE的选项菜单中选择User Options,将打开一个用户个人设置文件,然后将下面的代码拷贝到里面api.*.py=$(SciteDefaultHome)/python.api
api.*.pyw=$(SciteDefaultHome)/python.api
autocomplete.choose.single=1
autocomplete.python.ignorecase=1
autocomplete.python.start.characters=.
autocomplete.python.fillups=(
#autocompleteword.automatic
calltip.python.ignorecase=1
calltip.python.word.characters=._$(chars.alpha)$(chars.numeric)
保存后重新打开SciTE就行了,另外这个用户配置文件一般在你个人主目录里面.可以看看我的效果.在这里可以下载C/C++ Windows API,Opengl API, java的API,以及其他很多语言的API文件.
The .api files can be generated by hand or by using a program. There are also downloadable ready-to-use .api files.
For C/C++ headers, an API file can be generated using ctags and then the tags2api Python script (which assumes C/C++ source) on the tags file to grab complete multiple line function prototypes. Some common headers surround parameter lists with a __P macro and may have comments. The cleanapi utility may be used on these files.
To generate an API file for Python modules, there is a gen_python script.
To generate an API file for Java classes, there is a ApiBuilder.java program.
相关文章推荐
- [转载] 让SciTE能够和IDE一样进行成员提示
- [转载] 让SciTE能够和IDE一样进行成员提示
- 让SciTE能够和IDE一样进行成员提示
- vim 代码提示功能,让vim可以媲美IDE(转载)
- vim 代码提示功能,让vim可以媲美IDE(转载)
- 关于FreeBSD进行嵌入式开发的提示【转载】
- Intellij IDEA怎么像Eclipse一样对Class成员进行排序
- WinForm:像QQ系统信息一样进行系统提示
- 在Winform的ListView上面鼠标放到某一行的时候,如何出现类似 Vs2005 黄底黑字的提示一样,最好形状能够不规则?
- 编写一个通讯录,功能与以前的诺基亚手机一样,可以通过键盘进行箭头的移动,回车进入选项,用“W”键代表手机手机左键,“backspace”键代表返回上一级。能够实现基本的人性化的增删改查及文件的导入导出
- 转载——如何像 IDE 一样使用 vim
- Eclipse让js进行代码提示,做到和java文件一样;---HTML/CSS/JSP代码提示,同理
- NO.6 【转载】仿芒果网机票预定智能输入提示,基于jquery
- 无需root一样可以在Terminal IDE上用gcc
- 为什么要对基带信号进行脉冲成型【转载】
- VC++6.0中利用友元函数进行重载时出现不能访问私有成员的解决办法
- 本程序能够对灰度图像先进行二值化,再进行腐蚀操作
- 如何在Struts中进行文件上传[转载]
- 如何对一个水杯进行测试(转载)
- 【转载】一步步将vim改造成C/C++开发环境(IDE)