让SciTE能够和IDE一样进行成员提示
2007-05-13 03:07
295 查看
今天发现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.
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一样进行成员提示
- 在Winform的ListView上面鼠标放到某一行的时候,如何出现类似 Vs2005 黄底黑字的提示一样,最好形状能够不规则?
- 编写一个通讯录,功能与以前的诺基亚手机一样,可以通过键盘进行箭头的移动,回车进入选项,用“W”键代表手机手机左键,“backspace”键代表返回上一级。能够实现基本的人性化的增删改查及文件的导入导出
- Eclipse让js进行代码提示,做到和java文件一样;---HTML/CSS/JSP代码提示,同理
- WinForm:像QQ系统信息一样进行系统提示
- Intellij IDEA怎么像Eclipse一样对Class成员进行排序
- 如何让MyEclipse的代码提示功能和VS一样强大
- 小提示:不用数据线连接到Android手机进行调试
- 解决方案:静态成员对象的声明在头文件中,函数代码在另外一个文件中,提示链接错误
- vim 代码提示功能,让vim可以媲美IDE(转)
- vue-miniQQ——基于Vue2实现的仿手机QQ单页面应用(接入了聊天机器人,能够进行正常对话)
- python进行yum提示找不到目录
- python调用caffe接口进行classify时提示Mean shape incompatible with input shape错误的解决方法
- 为什么通过空指针(NULL)能够正确调用类的部分成员函数
- 如何对软件项目团队成员进行角色和岗位的划分
- 织梦DedeCMS提示"无法获得主键,因此无法进行后续操作"最佳解决方法
- git中提示说有正在运行的进程,无法进行下一步的解决办法
- eclipse进行相关操作时,弹出界面提示:loading descriptor for xxx