嵌入式 Source Insight阅读PHP项目的代码的详细配置
来源:互联网 发布:叶罗丽精灵梦娃娃淘宝 编辑:程序博客网 时间:2024/05/29 11:49
语言包下载连接:http://www.sourceinsight.com/public/languages/
Source
SI标准内置的语言主要在c/c++/Java/C#等,但就是没有PHP。这次有个比较大的PHP的项目代码需要接手,用UE看了一段,里面的函数跳来跳去,实在是麻烦。后来google了一下,发现SI官方网站自己带了PHP的语言定义文件,按照网站上的说明,倒入,配置了以下。类,函数等关联操作都已经可以了,就是语法的高亮没有。基本上就只有几个流程控制if,else高亮显示,看起来累就一个字。
从SI的language中导出的PHP语言定义,发现只配置了很少的流程控制字为keyword,所以只有这些是高亮的。这下好办了,从UltraEdit的wordfile.txt中把php的高亮配置导出,做了一些处理,分成内置function,keyword,control,operator四类,写成一个新的文本,然后再倒入进语言定义。
接着在颜色style中配置了对这四类的颜色显示,一切就OK了。
为了方便大家,我把自己做好的PHP语言定义文件和style文件上传,方便大家使用。
使用方法:
==》》解压缩,里面有两个文件:PHP Script.CLF,PHP-Styles.CF3
==》》语言文件:PHP Script.CLF
按照这个页面的提示:http://www.sourceinsight.com/public/index.html
Source
This page contains links to macro and custom languagedirectories.
Macros
Sample
Languages
Custom Language files for adding new language supportto
To import a custom language fileinto
1. Select
2. Click the
3. You should now see the new language in the list oflanguages.
4. Click the
5. If you don’t have a document type already created for thetype of language file, you will need to create one now. If youalready have a document type created, select it in the list and goto step 7.
6. Click the
Insight阅读PHP项目的代码的详细配置"o:spid="_x0000_i1027">Insight阅读PHP项目的代码的详细配置"src="file:///C:\Users\DELL\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
7. In the
8. Click the
Insight阅读PHP项目的代码的详细配置"o:spid="_x0000_i1026">Insight阅读PHP项目的代码的详细配置"src="file:///C:\Users\DELL\AppData\Local\Temp\msohtmlclip1\01\clip_image002.jpg">
==》》style文件:PHP-Styles.CF3
菜单“options”-》“StyleProperties”,在弹出窗口中,选择“load”,选中style文件:PHP-Styles.CF3。确定后,你可以在左侧的“StyleName”列表中看见增加了四个新的php-function,php-keyword,php-control,php-operator。在点击“Done”确定后,就好了。
Insight阅读PHP项目的代码的详细配置"o:spid="_x0000_i1025">Insight阅读PHP项目的代码的详细配置"src="file:///C:\Users\DELL\AppData\Local\Temp\msohtmlclip1\01\clip_image003.jpg">
- 嵌入式 Source Insight阅读PHP项目的代码的详细配置
- 配置Source Insight阅读PHP项目的代码
- 配置Source Insight阅读PHP项目的代码
- 配置Source Insight阅读PHP项目的代码
- Source Insight阅读PHP项目的代码…
- Source Insight阅读php代码
- Source Insight 支持 PHP代码的详细设置
- Source Insight 支持 PHP代码的详细设置
- source insight 阅读java的配置
- source insight 配置对php的支持
- Source insight 阅读python 代码 配置
- source insight的配置
- source insight的配置
- Source Insight的配置
- source insight 3.5 如何增强阅读代码的性能
- 阅读linux内核代码的工具-- Source Insight
- Source Insight的Base项目
- source insight的常用配置
- 嵌入式 ubuntu下svn的使用命令
- 嵌入式 apache出现You don't have permission to access
- 嵌入式 WAMP(win+apache+mysql+php)开发环境安装配置图文详解
- 嵌入式 window下php无法连接到数据库mysql的解决方法
- 嵌入式 window下远程访问Linux下mysql问题
- 嵌入式 Source Insight阅读PHP项目的代码的详细配置
- 嵌入式 用html实现各种分割线效果
- 嵌入式 php或者html中get和post的区别
- 嵌入式 php语言中 button onclick 代码的问题
- 最牛B的编码套路 .
- 嵌入式 php在下拉菜单中显示已经存在用户名
- 嵌入式 php中select控件当前值的获取
- 嵌入式 php中为按钮设置超链接
- 嵌入式 php中使按钮居中处理